package
Version:
v0.0.0-...-b486499
Opens a new window with list of versions in this module.
Published: Jun 9, 2023
License: Apache-2.0
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
¶
type Model struct {
Id int64 `json:"id" gorm:"primary_key"`
DeletedAt gorm.DeletedAt `json:"deleted_at" gorm:"default:null"`
CreatedAt time.Time `json:"created_at" gorm:"default:null"`
UpdatedAt time.Time `json:"updated_at" gorm:"default:null"`
}
type NoDeleteModel struct {
Id int64 `json:"id" gorm:"primary_key"`
CreatedAt time.Time `json:"created_at" gorm:"default:null"`
UpdatedAt time.Time `json:"updated_at" gorm:"default:null"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.