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