Fixed documentation error

This commit is contained in:
Manu Mtz-Almeida 2015-05-31 17:31:26 +02:00
parent 0d1b9856ed
commit e60087f223
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ func (c *Context) Bind(obj interface{}) error {
return c.BindWith(obj, b) 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 { func (c *Context) BindJSON(obj interface{}) error {
return c.BindWith(obj, binding.JSON) return c.BindWith(obj, binding.JSON)
} }