package
Version:
v0.0.13
Opens a new window with list of versions in this module.
Published: Jun 21, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type InfoV1 struct {
gorm.Model
Name string `gorm:"unique;column:name"`
Cate string `gorm:"column:cate"`
}
type InfoV2 struct {
gorm.Model
Name string `gorm:"unique;column:name"`
Cate int64 `gorm:"column:cate"`
}
type InfoV3 struct {
gorm.Model
Name string `gorm:"unique;column:name"`
Cate int8 `gorm:"column:cate"`
}
type UserV1 struct {
gorm.Model
Username string `gorm:"unique"`
Nickname string `gorm:"column:nickname"`
Rank string `gorm:"column:rank"`
Score string `gorm:"column:score"`
}
type UserV2 struct {
gorm.Model
Username string `gorm:"unique"`
Nickname string `gorm:"column:nickname"`
Rank uint64 `gorm:"column:rank"`
Score string `gorm:"column:score"`
}
type UserV3 struct {
gorm.Model
Username string `gorm:"unique"`
Nickname string `gorm:"column:nickname"`
Rank uint64 `gorm:"column:rank"`
Score float64 `gorm:"column:score"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.