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