Documentation ¶
Index ¶
Constants ¶
View Source
const ( T_SQLITE dbTYPE = iota T_POSTGRESQL )
Variables ¶
This section is empty.
Functions ¶
func GetMaxCount ¶
func GetMaxCount(cfg MaxCountCfg) int64
Types ¶
type FindConfig ¶
type MaxCountCfg ¶
type PhotoInfo ¶
type PhotoInfo struct { gorm.Model FileID string `gorm:"unique;not null"` UserID int64 `gorm:"not null"` Config api.DrawConfig `gorm:"embedded"` PrePhotoID string ControlPhotoID string }
func FindImg ¶
func FindImg(cfg FindConfig) ([]PhotoInfo, error)
type UserDefaultCfg ¶
Click to show internal directories.
Click to hide internal directories.