소스 검색

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