Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a6bc4a commit 70c104eCopy full SHA for 70c104e
context.go
@@ -279,7 +279,7 @@ func (c *Context) GetPostForm(key string) (string, bool) {
279
// "application/json" --> JSON binding
280
// "application/xml" --> XML binding
281
// otherwise --> returns an error
282
-// 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.
283
// It decodes the json payload into the struct specified as a pointer.
284
// Like ParseBody() but this method also writes a 400 error if the json is not valid.
285
func (c *Context) Bind(obj interface{}) error {
0 commit comments