Documentation ¶
Index ¶
- func Compare(a interface{}, b interface{}) (ret int)
- func Hash(bytes []byte) uint32
- func HashByKeys(data []interface{}) int
- func LessThan(a interface{}, b interface{}) bool
- func ParseTime(value string) time.Time
- func ParseTimeMilli(value string) time.Time
- func PartitionByKeys(count int, data []interface{}) int
- type KeyID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashByKeys ¶
func HashByKeys(data []interface{}) int
func ParseTimeMilli ¶
ParseTimeMilli parse time in string format "2006-01-02 15:04:05.000"
func PartitionByKeys ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.