Documentation ¶ Index ¶ Variables func Parse(r *http.Request, data interface{}) error Constants ¶ This section is empty. Variables ¶ View Source var ( // ErrInvalidContentType is returned by ParseRequest if it can't unmarshal it into the passed struct ErrInvalidContentType = errors.New("Invalid request content type") ) Functions ¶ func Parse ¶ func Parse(r *http.Request, data interface{}) error Parse takes the input body from the passed request and tries to unmarshal it into data Types ¶ This section is empty. Source Files ¶ View all Source files parse.go Click to show internal directories. Click to hide internal directories.