Documentation
¶
Index ¶
- Variables
- func CreateAccount(account *types.Account) error
- func CreateDatabase(dbname string, dbuser string, dbpassword string, dbhost string) (*sql.DB, error)
- func CreateImage(tx bun.Tx, image *types.Image) error
- func GetAccountByUserID(userID uuid.UUID) (types.Account, error)
- func GetImageByID(id int) (types.Image, error)
- func GetImagesByBatchID(batchID uuid.UUID) ([]types.Image, error)
- func GetImagesByUserID(userID uuid.UUID) ([]types.Image, error)
- func Init() error
- func UpdateAccount(account *types.Account) error
- func UpdateImage(tx bun.Tx, image *types.Image) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Bun *bun.DB
Functions ¶
func CreateAccount ¶
func CreateDatabase ¶
func UpdateAccount ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.