Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sonyflake ¶
type Sonyflake struct {
// contains filtered or unexported fields
}
func (Sonyflake) GenerateNumber ¶
GenerateNumber generates a new Sonyflake ID as an int64.
func (Sonyflake) ValidateNumber ¶
ValidateNumber checks if the provided ID is a valid Sonyflake ID.
Click to show internal directories.
Click to hide internal directories.