Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseBool ¶
ParseBool returns the boolean value represented by the string. It accepts for true: 1, t, true, OK, yes; for false: 0, f, false, no, n (case-insensitive). Any other value returns false and an error. This works very similar to Go's strconv.ParseBool except that more values are accepted, and it is case-insensitive.
func SignedAsInt64 ¶
SignedAsInt64 returns n as int64. Panics when n is not (a pointer value of) int64, int, int8, int16, int32.
func SignedAsInt64Ptr ¶
SignedAsInt64Ptr returns n as *int64. Panics when n is not (a pointer value of) int64, int, int8, int16, int32.
func UnsignedAsUint64 ¶
UnsignedAsUint64 returns n as uint64. Panics when n is not (a pointer value of) uint64, uint, uint8, uint16, uint32.
func UnsignedAsUint64Ptr ¶
UnsignedAsUint64Ptr returns n as *uint64. Panics when n is not (a pointer value of) uint64, uint, uint8, uint16, uint32.
Types ¶
This section is empty.