# Functions
Init initializes the PurchaseManager
.
# Constants
Enumeration of PurchaseType.
Enumeration of PurchaseType.
Purchase status.
Purchase status.
Purchase status.
Purchase status.
# Variables
ErrNoChange is thrown when an update action does not change any rows (not found).
ErrNotFound Error is thrown when a purchase is not found.
# Structs
Purchase struct defines a user in json and databasePurchaseType: BUY or LOAN.
No description provided by the author
# Interfaces
WebPurchase defines possible interactions with DB.