Documentation ¶
Index ¶
- func CloseDB()
- func CreateAccount(data models.Account) bool
- func CreateAccountType(data models.AccountType) bool
- func CreateDummyData()
- func GetAccountTypes(userID uint) []models.AccountType
- func GetAccounts(userID uint) []models.Account
- func GetUser(username string) (bool, models.User)
- func GetUserByID(userID uint) (bool, models.User)
- func InitDB(databasePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccount ¶
func CreateAccountType ¶
func CreateAccountType(data models.AccountType) bool
func CreateDummyData ¶
func CreateDummyData()
func GetAccountTypes ¶
func GetAccountTypes(userID uint) []models.AccountType
func GetAccounts ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.