Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNotFound = sqlx.ErrNotFound
Functions ¶
This section is empty.
Types ¶
type HotKeywords ¶
type HotKeywords struct { Id uint64 `db:"id"` // 自增ID Keyword string `db:"keyword"` // 关键è¯� Count int64 `db:"count"` // æ�œç´¢æ¬¡æ•° IsManual int64 `db:"is_manual"` // 是å�¦æ‰‹åŠ¨æ·»åŠ Status int64 `db:"status"` // 状æ€� 1:显示 2:éš�è—� Sort int64 `db:"sort"` // 排åº� CreatedAt time.Time `db:"created_at"` // 创建时间 UpdatedAt time.Time `db:"updated_at"` // 更新时间 }
type HotKeywordsModel ¶
type HotKeywordsModel interface {
// contains filtered or unexported methods
}
HotKeywordsModel is an interface to be customized, add more methods here, and implement the added methods in customHotKeywordsModel.
func NewHotKeywordsModel ¶
func NewHotKeywordsModel(conn sqlx.SqlConn) HotKeywordsModel
NewHotKeywordsModel returns a model for the database table.
type ProductIndices ¶
type ProductIndicesModel ¶
type ProductIndicesModel interface {
// contains filtered or unexported methods
}
ProductIndicesModel is an interface to be customized, add more methods here, and implement the added methods in customProductIndicesModel.
func NewProductIndicesModel ¶
func NewProductIndicesModel(conn sqlx.SqlConn) ProductIndicesModel
NewProductIndicesModel returns a model for the database table.
type SearchHistories ¶
type SearchHistoriesModel ¶
type SearchHistoriesModel interface {
// contains filtered or unexported methods
}
SearchHistoriesModel is an interface to be customized, add more methods here, and implement the added methods in customSearchHistoriesModel.
func NewSearchHistoriesModel ¶
func NewSearchHistoriesModel(conn sqlx.SqlConn) SearchHistoriesModel
NewSearchHistoriesModel returns a model for the database table.
type SearchStatistics ¶
type SearchStatistics struct { Id uint64 `db:"id"` // 自增ID Keyword string `db:"keyword"` // �索关键� Count int64 `db:"count"` // �索次数 ResultCount int64 `db:"result_count"` // 结果数� Date time.Time `db:"date"` // 统计日期 CreatedAt time.Time `db:"created_at"` // 创建时间 UpdatedAt time.Time `db:"updated_at"` // 更新时间 }
type SearchStatisticsModel ¶
type SearchStatisticsModel interface {
// contains filtered or unexported methods
}
SearchStatisticsModel is an interface to be customized, add more methods here, and implement the added methods in customSearchStatisticsModel.
func NewSearchStatisticsModel ¶
func NewSearchStatisticsModel(conn sqlx.SqlConn) SearchStatisticsModel
NewSearchStatisticsModel returns a model for the database table.