Documentation
¶
Index ¶
- func BeforeSaveUser(user *models.User) (*gorm.DB, error)
- func ComparePassword(user *models.User, password string) error
- func DeleteCard(card *models.Card) error
- func DeleteImage(image *models.Image) error
- func EditCard(card *models.Card) (*models.Card, error)
- func EditImage(image *models.Image) (*models.Image, error)
- func FindCardById(id uint) (*models.Card, error)
- func FindCards(query string) (*[]models.Card, error)
- func FindImageById(id uint) (*models.Image, error)
- func FindImages(query string) (*[]models.Image, error)
- func FindUserById(id uint) (*models.User, error)
- func FindUserByUsername(username string) (*models.User, error)
- func SaveCard(card *models.Card) (*models.Card, error)
- func SaveImage(image *models.Image) (*models.Image, error)
- func SaveUser(user *models.User) (*models.User, error)
- func UpdateImage(image *models.Image) (*models.Image, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCard ¶
func DeleteImage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.