Documentation ¶ Index ¶ Variables func JSON(body io.ReadCloser, target any) error func PostForm(r *http.Request, target any) error func Query(values url.Values, target any) error func Validate(target any) error Constants ¶ This section is empty. Variables ¶ View Source var ErrDecoding error = errors.New("can't decode") View Source var ErrValidating error = errors.New("can't validate") Functions ¶ func JSON ¶ func JSON(body io.ReadCloser, target any) error func PostForm ¶ func PostForm(r *http.Request, target any) error func Query ¶ func Query(values url.Values, target any) error func Validate ¶ func Validate(target any) error Types ¶ This section is empty. Source Files ¶ View all Source files bind.go Click to show internal directories. Click to hide internal directories.