Documentation
¶
Index ¶
- type Category
- type Categorys
- type MySQL
- func (m *MySQL) Delete(ctx context.Context, c *entity.Category) (err error)
- func (m *MySQL) GetByID(ctx context.Context, app int64, id int64, all bool) (category *entity.Category, err error)
- func (m *MySQL) Insert(ctx context.Context, c *entity.Category) (err error)
- func (m *MySQL) Select(ctx context.Context, app int64, all bool) (categorys entity.Categorys, err error)
- func (m *MySQL) Update(ctx context.Context, c *entity.Category) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct { ID int64 `db:"id"` CategoryName string `db:"category_name"` AppID int64 `db:"app_id"` IsActive int8 `db:"is_active"` }
category struct
Click to show internal directories.
Click to hide internal directories.