fix: description error (#2961)

This commit is contained in:
jincheng9 2021-11-26 16:38:10 +08:00 committed by GitHub
parent 823adfc91a
commit ffb3b73430
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1102,7 +1102,7 @@ type Negotiate struct {
Data interface{}
}
// Negotiate calls different Render according acceptable Accept format.
// Negotiate calls different Render according to acceptable Accept format.
func (c *Context) Negotiate(code int, config Negotiate) {
switch c.NegotiateFormat(config.Offered...) {
case binding.MIMEJSON: