Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseMapper ¶
type BaseMapper[T any] struct{}
func (BaseMapper[T]) Update ¶
func (m BaseMapper[T]) Update(entity T, omits ...string) error
Update 更新
type Config ¶
type Config struct { User string `json:"user" xml:"user" yaml:"user" form:"user"` Password string `json:"password" xml:"password" yaml:"password" form:"password"` Host string `json:"host" xml:"host" yaml:"host" form:"host"` Port string `json:"port" xml:"port" yaml:"port" form:"port"` Database string `json:"database" xml:"database" yaml:"database" form:"database"` Charset string `json:"charset" xml:"charset" yaml:"charset" form:"charset"` }
Config 连接数据库
Click to show internal directories.
Click to hide internal directories.