package
0.0.0-20240404071821-0455cec6c69a
Repository: https://github.com/yu-qi/goauth.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
ActiveAccount activates an account.
CreateAccount creates a new account.
Get database.
GetProductRecommendations gets product recommendations.
GetWith get database with context.
Init database.
IsDuplicateEntryError checks if the error is a duplicate entry error.
IsRecordNotFoundError checks if the error is a record not found error.
Login login an active account.
UpdateAccount updates an account.
UserExists checks if a user exists and is active.
# Constants
ErrDuplicateEntryCode is the error code for duplicate entry.
# Structs
CreateAccountParams is the parameters for creating an account.