Closed ghost closed 8 years ago
./main.go:35: missing return at end of function
m.Get("/test", func (r render.Render) string { r.HTML(200, "index", "world") })
I can't seem to figure out the problem here, any ideas?
You are defining your handler returns a string, but you didn't anything.
@Unknwon Yeah, just noticed. Embarrassing, hah.
./main.go:35: missing return at end of function
I can't seem to figure out the problem here, any ideas?