From ffd35c365e2bfcdbae7491010ac19b1e784028c9 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sat, 25 Apr 2015 21:27:04 -0700 Subject: [PATCH] Fix typo/grammar in function comment --- context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.go b/context.go index 5d7e02a9..599c693a 100644 --- a/context.go +++ b/context.go @@ -120,7 +120,7 @@ func (c *Context) Abort() { c.index = AbortIndex } -// Same than AbortWithStatus() but also writes the specified response status code. +// AbortWithStatus is the same as Abort but also writes the specified response status code. // For example, the first handler checks if the request is authorized. If it's not, context.AbortWithStatus(401) should be called. func (c *Context) AbortWithStatus(code int) { c.Writer.WriteHeader(code)