From 8df2cca627441eeb0a7a2723337a39479f88089b Mon Sep 17 00:00:00 2001 From: JessonChan Date: Fri, 18 Sep 2015 10:32:21 +0800 Subject: [PATCH] add comment --- error.go | 1 + 1 file changed, 1 insertion(+) diff --git a/error.go b/error.go index ee21cee9..1e047234 100644 --- a/error.go +++ b/error.go @@ -204,6 +204,7 @@ type errorInfo struct { } // map of http handlers for each error string. +// there is 10 kinds default error(40x and 50x) var ErrorMaps = make(map[string]*errorInfo, 10) // show 401 unauthorized error.