fix: description error

This commit is contained in:
jincheng9 2021-12-12 14:03:00 +08:00
parent fb77a6512b
commit 611db14153

2
gin.go
View File

@ -41,7 +41,7 @@ var defaultTrustedCIDRs = []*net.IPNet{
// HandlerFunc defines the handler used by gin middleware as return value. // HandlerFunc defines the handler used by gin middleware as return value.
type HandlerFunc func(*Context) type HandlerFunc func(*Context)
// HandlersChain defines a HandlerFunc array. // HandlersChain defines a HandlerFunc slice.
type HandlersChain []HandlerFunc type HandlersChain []HandlerFunc
// Last returns the last handler in the chain. i.e. the last handler is the main one. // Last returns the last handler in the chain. i.e. the last handler is the main one.