package
0.0.0-20230112123155-9d1c6bba455e
Repository: https://github.com/dwata-tech/go-base.git
Documentation: pkg.go.dev
# Packages
Package migrate implements postgres migrations.
# Functions
DBConn returns a postgres connection pool.
NewAccountFilter returns an AccountFilter with options parsed from request url values.
NewAccountStore returns an AccountStore.
NewAdmAccountStore returns an AccountStore.
NewAuthStore return an AuthStore.
NewProfileStore returns a ProfileStore implementation.
# Variables
ErrBadParams could not parse params to filter.
ErrUniqueEmailConstraint provides error message for already registered email address.
# Structs
AccountFilter provides pagination and filtering options on accounts.
AccountStore implements database operations for account management by user.
AdmAccountStore implements database operations for account management by admin.
AuthStore implements database operations for account pwdlessentication.
ProfileStore implements database operations for profile management.