浏览代码

Fixed documentation error

Manu Mtz-Almeida 10 年之前
父节点
当前提交
e60087f223
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      context.go

+ 1 - 1
context.go

@@ -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)
 }
 }