Documentation ¶
Index ¶
- func Count(info interface{}, condition interface{}, args ...interface{}) (int64, error)
- func DonateInfoFind(info *model.DonateInfo) (model.DonateInfo, error)
- func DonateInfoIsExist(info *model.DonateInfo) (bool, error)
- func DonateInfoRandomGet(prevId uint) (model.DonateInfo, error)
- func DonateInfoSave(info *model.DonateInfo) error
- func GetUserById(id uint) (model.User, error)
- func GetUserBySession(c *gin.Context) (*model.User, error)
- func Login(login string, pass string) (model.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DonateInfoFind ¶
func DonateInfoFind(info *model.DonateInfo) (model.DonateInfo, error)
func DonateInfoIsExist ¶
func DonateInfoIsExist(info *model.DonateInfo) (bool, error)
func DonateInfoRandomGet ¶
func DonateInfoRandomGet(prevId uint) (model.DonateInfo, error)
func DonateInfoSave ¶
func DonateInfoSave(info *model.DonateInfo) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.