Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenerateSnowflakeId ¶
type GenerateSnowflakeId struct {
Name string
}
func GenerateId ¶
func GenerateId() *GenerateSnowflakeId
func (GenerateSnowflakeId) Initialize ¶
func (g GenerateSnowflakeId) Initialize(db *gorm.DB)
Click to show internal directories.
Click to hide internal directories.