Documentation ¶
Index ¶
- func BoolToInt8(b bool) int8
- func Int32ToString(i int32) string
- func Int64ToString(i int64) string
- func JoinInt32List(s []int32, sep string) string
- func JoinInt64List(s []int64, sep string) string
- func JoinUint32List(s []uint32, sep string) string
- func JoinUint64List(s []uint64, sep string) string
- func NowFormatYMDHMS() string
- func StringToInt32(s string) (int32, error)
- func StringToInt64(s string) (int64, error)
- func StringToUint32(s string) (uint32, error)
- func StringToUint64(s string) (uint64, error)
- type Duration
- type Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToInt8 ¶
func Int32ToString ¶
func Int64ToString ¶
func JoinInt32List ¶
func JoinInt64List ¶
func JoinUint32List ¶
func JoinUint64List ¶
func NowFormatYMDHMS ¶
func NowFormatYMDHMS() string
///////////////////////////////////////////////////////////
func StringToInt32 ¶
func StringToInt64 ¶
func StringToUint32 ¶
func StringToUint64 ¶
Types ¶
type Duration ¶
Duration be used toml unmarshal string time, like 1s, 500ms.
func (*Duration) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.