Documentation ¶
Index ¶
- Constants
- func RegistUpgrader(version string, handlerFunc func(storage.DI, *Config) error)
- func Upgrade(db storage.DI, conf *Config) (err error)
- func Upsert(db storage.DI, tablename string, row interface{}, idfieldname string, ...) (instID int64, preData map[string]interface{}, err error)
- type Config
- type System
- type Upgrader
- type Version
Constants ¶
View Source
const SystemTypeVersion = "version"
Variables ¶
This section is empty.
Functions ¶
func RegistUpgrader ¶
RegistUpgrader register upgrader
Types ¶
Click to show internal directories.
Click to hide internal directories.