fix: description error (#2986)
This commit is contained in:
parent
7d189814cb
commit
fb5f045417
@ -109,6 +109,11 @@ People and companies, who have contributed, in alphabetical order.
|
|||||||
- Fix typo in comment
|
- Fix typo in comment
|
||||||
|
|
||||||
|
|
||||||
|
**@jincheng9 (Jincheng Zhang)**
|
||||||
|
- ★ support TSR when wildcard follows named param
|
||||||
|
- Fix errors and typos in comments
|
||||||
|
|
||||||
|
|
||||||
**@joiggama (Ignacio Galindo)**
|
**@joiggama (Ignacio Galindo)**
|
||||||
- Add utf-8 charset header on renders
|
- Add utf-8 charset header on renders
|
||||||
|
|
||||||
|
2
gin.go
2
gin.go
@ -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.
|
||||||
|
2
mode.go
2
mode.go
@ -88,7 +88,7 @@ func EnableJsonDecoderDisallowUnknownFields() {
|
|||||||
binding.EnableDecoderDisallowUnknownFields = true
|
binding.EnableDecoderDisallowUnknownFields = true
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mode returns currently gin mode.
|
// Mode returns current gin mode.
|
||||||
func Mode() string {
|
func Mode() string {
|
||||||
return modeName
|
return modeName
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user