Documentation ¶
Overview ¶
Package dao dao 层进行了数据访问对象的封装,并针对业务所需的字段进行了处理。
Index ¶
- type Dao
- func (d *Dao) CountTag(name string, state uint8) (int, error)
- func (d *Dao) CreateTag(name string, state uint8, createdBy string) error
- func (d *Dao) DeleteTag(id uint32) error
- func (d *Dao) GetAuth(appKey, appSecret string) (model.Auth, error)
- func (d *Dao) GetTagList(name string, state uint8, page, pageSize int) ([]*model.Tag, error)
- func (d *Dao) UpdateTag(id uint32, name string, state *uint8, modifiedBy string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.