Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode(input interface{}, output interface{}) error
Decode create a new hook in the mapstructure pkg for the decoder config. Especially used to map a string to a time.Time type.
func DieOnError ¶
DieOnError checks if an error is nil and log fatal error message otherwise
func ParseStringToUint64 ¶
ParseStringToUint64 pretty self explanatory. Especially used for query param conversion.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.