Skip to content

Commit

Permalink
Merge pull request #576 from kamronbatman/patch-1
Browse files Browse the repository at this point in the history
[Cleanup] Typo in context.go
  • Loading branch information
javierprovecho committed Apr 2, 2016
2 parents 4a6bc4a + 70c104e commit dc85514
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 @@ -279,7 +279,7 @@ func (c *Context) GetPostForm(key string) (string, bool) {
// "application/json" --> JSON binding
// "application/xml" --> XML binding
// otherwise --> returns an error
// If Parses the request's body as JSON if Content-Type == "application/json" using JSON or XML as a JSON input.
// It parses the request's body as JSON if Content-Type == "application/json" using JSON or XML as a JSON input.
// It decodes the json payload into the struct specified as a pointer.
// Like ParseBody() but this method also writes a 400 error if the json is not valid.
func (c *Context) Bind(obj interface{}) error {
Expand Down

0 comments on commit dc85514

Please sign in to comment.