Documentation ¶
Index ¶
- func CreateCustomer(customer *db.Customer) error
- func CreateUser(user *db.User) error
- func CustomerByIDAndUserID(id, userID uuid.UUID) (*db.Customer, error)
- func Customers(userID uuid.UUID, page, pageSize uint32, order, direction string, ...) ([]db.Customer, error)
- func CustomersCount(userID uuid.UUID, filters ...string) (uint32, error)
- func DeleteCustomer(customer *db.Customer) error
- func IsErrDuplicateKey(err error) bool
- func IsErrRecordNotFound(err error) bool
- func UpdateCustomer(customer *db.Customer) error
- func UserByAccessToken(token uuid.UUID) (*db.User, error)
- func UserByEmail(email string) (*db.User, error)
- func UserRemoveAccessToken(user *db.User) error
- func UserUpdateAccessToken(user *db.User, token uuid.UUID) error
- func UserUpdateEmailAndLanguage(user *db.User, email, language string) error
- type CustomerMonthlyRegistrations
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCustomer ¶
func CreateUser ¶
func DeleteCustomer ¶
func IsErrDuplicateKey ¶
func IsErrRecordNotFound ¶
func UpdateCustomer ¶
func UserRemoveAccessToken ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.