Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserExampleDao ¶ added in v1.3.0
type UserExampleDao interface {
Create(ctx context.Context, table *model.UserExample) error
DeleteByID(ctx context.Context, id uint64) error
UpdateByID(ctx context.Context, table *model.UserExample) error
GetByID(ctx context.Context, id uint64) (*model.UserExample, error)
GetByColumns(ctx context.Context, params *query.Params) ([]model.UserExample, int64, error)
}
UserExampleDao 定义dao接口
func NewUserExampleDao ¶ added in v1.3.0
func NewUserExampleDao(dao *Dao) UserExampleDao
NewUserExampleDao 创建dao接口
Click to show internal directories.
Click to hide internal directories.