From 13565e1bf53792becc94fd4f0e775f5b2b0a639e Mon Sep 17 00:00:00 2001 From: Michael Puncel Date: Mon, 7 Mar 2016 20:54:10 -0800 Subject: [PATCH 1/2] fix typo in godoc for func (*Context) HandlerName --- context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.go b/context.go index 2fb69b7..a2d2d22 100644 --- a/context.go +++ b/context.go @@ -77,7 +77,7 @@ func (c *Context) Copy() *Context { 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" func (c *Context) HandlerName() string { return nameOfFunction(c.handlers.Last()) From 7171b967a3f1cf44edef4071476f4e00ccfdb03c Mon Sep 17 00:00:00 2001 From: Michael Puncel Date: Mon, 7 Mar 2016 21:56:46 -0800 Subject: [PATCH 2/2] s/currect/current --- context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.go b/context.go index a2d2d22..5db121a 100644 --- a/context.go +++ b/context.go @@ -98,7 +98,7 @@ func (c *Context) Next() { } } -// IsAborted returns true if the currect context was aborted. +// IsAborted returns true if the current context was aborted. func (c *Context) IsAborted() bool { return c.index >= abortIndex }