Documentation ¶ Index ¶ func SafeParse(s string, defaultValue bool) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SafeParse ¶ func SafeParse(s string, defaultValue bool) bool SafeParse returns the boolean value represented by the string. It accepts 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False. Any other value returns defaultValue. Types ¶ This section is empty. Source Files ¶ View all Source files bool_utils.go Click to show internal directories. Click to hide internal directories.