package
Version:
v0.0.0-...-61fbec9
Opens a new window with list of versions in this module.
Published: Dec 7, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DBConfiguration struct {
Dialect string
Url string
MaxIdle int
MaxActive int
EnableLogModel bool
Models []interface{}
}
type GormModel struct {
Id int64 `gorm:"PRIMARY_KEY;AUTO_INCREMENT" json:"id"`
}
type PageResult struct {
}
分页返回数据
type Paging struct {
Page int `json:"page"`
Limit int `json:"limit"`
Total int `json:"total"`
}
分页请求数据
Source Files
¶
Click to show internal directories.
Click to hide internal directories.