Documentation ¶
Index ¶
Constants ¶
View Source
const (
TableName = `sys_config`
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysConfigModel ¶
type SysConfigModel interface { CreateSysConfigTable() error DropSysConfigTable() error GetSysConfigByName(name string) (info *SysConfig, err error) CreateSysConfigs(configs []*SysConfig) (rowsAffected int64, err error) CreateSysConfigsInTransact(tx *gorm.DB, configs []*SysConfig) error UpdateSysConfigsInTransact(tx *gorm.DB, configs []*SysConfig) error }
func NewSysConfigModel ¶
func NewSysConfigModel(db *gorm.DB) SysConfigModel
Click to show internal directories.
Click to hide internal directories.