package
0.0.0-20240403082129-620243f388ef
Repository: https://github.com/wtran29/go-ecommerce.git
Documentation: pkg.go.dev

# Functions

GenerateToken generates a token to that last for ttl duration and returns token.
NewModels returns a model type with db connection pool.

# Constants

No description provided by the author

# Structs

Customer type for transtactions.
DBModel type for database connection values.
Item type for all items.
Models is the wrapper to all models.
Order type for all orders.
Status type for order statuses.
Token is the type for authentication.
Transaction type for transactions.
TransactionStatus type for transaction statuses.
User type for transtactions.