package
0.2.6
Repository: https://github.com/aussiebroadwan/tony.git
Documentation: pkg.go.dev

# Functions

Balance retrieves the balance of a user with the given ID.
Credit adds the specified amount to the balance of the user with the given ID.
CreditHistory retrieves the credit transaction history of the user with the given ID.
Debit subtracts the specified amount from the balance of the user with the given ID.
DebitHistory retrieves the debit transaction history of the user with the given ID.
History retrieves the transaction history of the user with the given ID.
SetupWalletDB initializes the database with the User and Transaction models.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
DefaultBalance is the default balance for a new user.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author