Using uint64 for ErrorType

This commit is contained in:
Manu Mtz-Almeida
2015-05-23 01:59:36 +02:00
parent a373dc0deb
commit 2ebb6dcb95
2 changed files with 13 additions and 11 deletions

View File

@ -25,7 +25,7 @@ func ErrorLogger() HandlerFunc {
return ErrorLoggerT(ErrorTypeAny)
}
func ErrorLoggerT(typ int) HandlerFunc {
func ErrorLoggerT(typ ErrorType) HandlerFunc {
return func(c *Context) {
c.Next()