db

package
v0.0.0-...-9fe990d Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Transaction      = "transaction"
	AffectedWallet   = "affected_wallet"
	Category         = "category"
	Wallet           = "wallet"
	WalletTypes      = "wallet_type"
	TransactionTypes = "transaction_type"
	WalletRoles      = "wallet_role"
)

Table names

Variables

This section is empty.

Functions

func Conn

func Conn() *sqlx.DB

Conn returns an SQL connection

func CreateTables

func CreateTables() (err error)

CreateTables creates (if not exists) all the required tables

Types

This section is empty.

Jump to

Keyboard shortcuts

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