Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = sqlx.ErrNotFound
Functions ¶
This section is empty.
Types ¶
type CategoryModel ¶
type CategoryModel interface {
// contains filtered or unexported methods
}
CategoryModel is an interface to be customized, add more methods here, and implement the added methods in customCategoryModel.
func NewCategoryModel ¶
func NewCategoryModel(conn sqlx.SqlConn, c cache.CacheConf) CategoryModel
NewCategoryModel returns a model for the database table.
Click to show internal directories.
Click to hide internal directories.