Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Name is the name of the compiled software. Name string // Version is the version of the compiled software. Version string Db *gorm.DB )
go build -ldflags "-X main.Version=x.y.z"
Functions ¶
func CommitOrRollback ¶
func DeleteRowByTable ¶
DeleteRowByTable WANING: 该操作会删除数据,并且不可恢复 通常只用于测试中
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.