Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 StringToBool ¶
StringToBool returns true if the string s is either "1", "t", "true", "y", "yes", "ok". The string is checked case insensitively.
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.
Click to show internal directories.
Click to hide internal directories.