From 70c104e16cc5ffcbc1eaff793e19f88ed9d07cc3 Mon Sep 17 00:00:00 2001 From: Kamron Batman Date: Fri, 1 Apr 2016 16:29:28 -0700 Subject: [PATCH] [Cleanup] Typo in context.go Fixes typo from 'If Parses' to 'It parses' --- context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.go b/context.go index 5db121a5..b043d1b4 100644 --- a/context.go +++ b/context.go @@ -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 {