data

package
v0.0.0-...-91c277e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseDB

func CloseDB()

func CreateAccount

func CreateAccount(data models.Account) bool

func CreateAccountType

func CreateAccountType(data models.AccountType) bool

func CreateDummyData

func CreateDummyData()

func GetAccountTypes

func GetAccountTypes(userID uint) []models.AccountType

func GetAccounts

func GetAccounts(userID uint) []models.Account

func GetUser

func GetUser(username string) (bool, models.User)

func GetUserByID

func GetUserByID(userID uint) (bool, models.User)

func InitDB

func InitDB(databasePath string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL