Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 13565e1

Browse files
committed
fix typo in godoc for func (*Context) HandlerName
1 parent 7cdebae commit 13565e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func (c *Context) Copy() *Context {
7777
return &cp
7878
}
7979

80-
// HandlerName returns the main handle's name. For example if the handler is "handleGetUsers()", this
80+
// HandlerName returns the main handler's name. For example if the handler is "handleGetUsers()", this
8181
// function will return "main.handleGetUsers"
8282
func (c *Context) HandlerName() string {
8383
return nameOfFunction(c.handlers.Last())

0 commit comments

Comments
 (0)