Skip to content

Commit

Permalink
fix: description error (gin-gonic#2961)
Browse files Browse the repository at this point in the history
  • Loading branch information
jincheng9 authored Nov 26, 2021
1 parent 823adfc commit ffb3b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ffb3b73

Please sign in to comment.