Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrConvertMapStringSlice can not convert to map[string][]string. ErrConvertMapStringSlice = errors.New("can not convert to map slices of strings") // ErrConvertToMapString can not convert to map[string]string. ErrConvertToMapString = errors.New("can not convert to map of strings") )
Functions ¶
func WithForm ¶
WithForm binds the passed struct pointer using the request form params, fails with false returning and aborts the request with 400 status code.
func WithHeader ¶
WithHeader binds the passed struct pointer using the request header params, fails with false returning and aborts the request with 400 status code.
func WithJSON ¶
WithJSON binds the passed struct pointer using the request json params, fails with false returning and aborts the request with 400 status code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.