package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Apr 7, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DateTime struct {
CreatedAt time.Time `gorm:"autoCreateTime"`
UpdatedAt time.Time `gorm:"autoUpdateTime"`
}
type PrimaryKey struct {
ID uuid.UUID `gorm:"primaryKey;type:uuid;default:gen_random_uuid()"`
}
type SoftDeleteModel struct {
DeletedAt gorm.DeletedAt `gorm:"index"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.