Discover Packages
github.com/realotz/mstore
pkg
base
package
Version:
v0.0.0-...-75939a1
Opens a new window with list of versions in this module.
Published: Feb 11, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Model struct {
ID uint32 `gorm:"primarykey;comment:主键id"`
CreatedAt time .Time `gorm:"created_at;comment:创建时间"`
UpdatedAt time .Time `gorm:"updated_at;comment:更新时间"`
}
type UuidModel struct {
ID uuid .UUID `gorm:"primarykey;comment:主键id"`
CreatedAt time .Time `gorm:"created_at;comment:创建时间"`
UpdatedAt time .Time `gorm:"updated_at;comment:更新时间"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.