From e60087f2232d82f94d785bb2121928d4e79fed2b Mon Sep 17 00:00:00 2001 From: Manu Mtz-Almeida Date: Sun, 31 May 2015 17:31:26 +0200 Subject: [PATCH] Fixed documentation error --- context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.go b/context.go index 6838352..c04cd1d 100644 --- a/context.go +++ b/context.go @@ -235,7 +235,7 @@ func (c *Context) Bind(obj interface{}) error { return c.BindWith(obj, b) } -// Shortcut for c.Bind(obj, binding.JSON) +// Shortcut for c.BindWith(obj, binding.JSON) func (c *Context) BindJSON(obj interface{}) error { return c.BindWith(obj, binding.JSON) }