helpers
func BoolToInt
BoolToInt converts a bool to an int.
It returns "1" if b == true and "0" otherwise.
func NewBool
NewBool returns bool pointer of the passed value.
func NewInt
NewInt returns an int pointer of the passed value.
func NewStr
NewStr returns a string pointer of the passed value.