Bläddra i källkod

fix typo in godoc for func (*Context) HandlerName

Michael Puncel 9 år sedan
förälder
incheckning
13565e1bf5
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      context.go

+ 1 - 1
context.go

@@ -77,7 +77,7 @@ func (c *Context) Copy() *Context {
 	return &cp
 	return &cp
 }
 }
 
 
-// HandlerName returns the main handle's name. For example if the handler is "handleGetUsers()", this
+// HandlerName returns the main handler's name. For example if the handler is "handleGetUsers()", this
 // function will return "main.handleGetUsers"
 // function will return "main.handleGetUsers"
 func (c *Context) HandlerName() string {
 func (c *Context) HandlerName() string {
 	return nameOfFunction(c.handlers.Last())
 	return nameOfFunction(c.handlers.Last())