Documentation
¶
Index ¶
- type IntSlice
- type Option
- type StringSlice
- type Uorm
- func (u *Uorm) Create(i interface{}) error
- func (u *Uorm) Delete(i interface{}, ops ...Option) error
- func (u *Uorm) Fisrt(i interface{}, ops ...Option)
- func (u *Uorm) Get(i interface{}, ops ...Option)
- func (u *Uorm) GetDb() *gorm.DB
- func (u *Uorm) Model(i interface{})
- func (u *Uorm) Save(i interface{}) error
- func (u *Uorm) SetDb(db *gorm.DB)
- func (u *Uorm) Update(i interface{}, ops ...Option) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringSlice ¶
type StringSlice []string
---------------- 逗号分割数据 -------------------------
func (*StringSlice) Scan ¶
func (ss *StringSlice) Scan(value any) error
Click to show internal directories.
Click to hide internal directories.