package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Nov 2, 2023
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Marshal[T any](apiTypesStruct any) T
NewDb
@Description: 创建数据库
@param cfgSection 配置节点,用于启动多个数据库不用配置
@return *gorm.DB
func UnMarshal[T any](dbModel any) T
type Setting struct {
OpenLog byte `comment:"开关 0否 1是"`
SkipDefTransaction byte
DBConfig string ``
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.