Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7cdebae + 7171b96 commit 31e4401Copy full SHA for 31e4401
context.go
@@ -77,7 +77,7 @@ func (c *Context) Copy() *Context {
77
return &cp
78
}
79
80
-// 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
81
// function will return "main.handleGetUsers"
82
func (c *Context) HandlerName() string {
83
return nameOfFunction(c.handlers.Last())
@@ -98,7 +98,7 @@ func (c *Context) Next() {
98
99
100
101
-// IsAborted returns true if the currect context was aborted.
+// IsAborted returns true if the current context was aborted.
102
func (c *Context) IsAborted() bool {
103
return c.index >= abortIndex
104
0 commit comments