Manu Mtz-Almeida 10 лет назад
Родитель
Сommit
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)
 }
 
-// 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)
 }