Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolOrDefault ¶
BoolOrDefault returns bool if it is not nil, and a pointer to defaultVal otherwise. NOTE: this method is deprecated. Use helpy.DerefOrValue instead.
func FromString ¶
FromString parses the string to a bool. Valid input values are any casing of "true" and "false", and 1 and 0. If any other input is given, FromString returns false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.