Documentation ¶
Index ¶
- Constants
- func Div(x, y float64) float64
- func DivWithRound(x, y float64, places int) float64
- func Mul(x, y float64) float64
- func MulWithRound(x, y float64, places int) float64
- func Round(val float64, places int) float64
- func ToDayEnd(t time.Time) time.Time
- func ToDayNoon(t time.Time) time.Time
- func ToDayStart(t time.Time) time.Time
- type SnowFlake
Constants ¶
View Source
const ( // MaxSequence max sequence in one time MaxSequence = 1000 // WorkerBit worker bit WorkerBit = 10 // SequenceBit sequence bit SequenceBit = 10 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.