Documentation ¶
Index ¶
- func BytesToInt64(buf []byte) int64
- func ConvertInt(n interface{}) int
- func ConvertInt32(n interface{}) int32
- func ConvertInt64(n interface{}) int64
- func ConvertInt64List(s string, sep string) ([]int64, error)
- func ConvertUint64(n interface{}) uint64
- func Int64ToBytes(i int64) []byte
- func StrToTime(v string) (time.Time, error)
- func StrToTimestamp(v string) (int64, error)
- func TimeToStr(t time.Time) string
- func TimeToTimestamp(t time.Time) int64
- func TimestampToStr(timestamp int64) string
- func TimestampToTime(timestamp int64) time.Time
- func ValueToTime(year, month, day, hour, min, sec, nsec int) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToInt64 ¶
func ConvertInt ¶
func ConvertInt(n interface{}) int
func ConvertInt32 ¶
func ConvertInt32(n interface{}) int32
func ConvertInt64 ¶
func ConvertInt64(n interface{}) int64
func ConvertUint64 ¶
func ConvertUint64(n interface{}) uint64
func Int64ToBytes ¶
func StrToTimestamp ¶
func TimeToTimestamp ¶
func TimestampToStr ¶
func TimestampToTime ¶
func ValueToTime ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.