chore: update the result of CR (#2354)

* chore: update the result of CR

* Update utils.go

* Update utils.go

* Update context.go

* Update context.go
This commit is contained in:
thinkerou
2020-05-04 11:40:41 +08:00
committed by GitHub
parent abc4fa0718
commit 54175dbe72
6 changed files with 16 additions and 10 deletions
+4 -3
View File
@@ -20,11 +20,12 @@ import (
const defaultMultipartMemory = 32 << 20 // 32 MB
var (
default404Body = []byte("404 page not found")
default405Body = []byte("405 method not allowed")
defaultAppEngine bool
default404Body = []byte("404 page not found")
default405Body = []byte("405 method not allowed")
)
var defaultAppEngine bool
// HandlerFunc defines the handler used by gin middleware as return value.
type HandlerFunc func(*Context)