From df27c96102ee898afe0e045150b79435cc4b2902 Mon Sep 17 00:00:00 2001 From: Leon Chan Date: Mon, 18 Apr 2016 19:37:38 +0800 Subject: [PATCH] fix spell error --- controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.go b/controller.go index d3abdf38..3a9d1618 100644 --- a/controller.go +++ b/controller.go @@ -261,7 +261,7 @@ func (c *Controller) Abort(code string) { // CustomAbort stops controller handler and show the error data, it's similar Aborts, but support status code and body. func (c *Controller) CustomAbort(status int, body string) { - // first panic from ErrorMaps, is is user defined error functions. + // first panic from ErrorMaps, it is user defined error functions. if _, ok := ErrorMaps[body]; ok { c.Ctx.Output.Status = status panic(body)