Discover Packages
github.com/embik/pfennig
pkg
data
models
package
Version:
v0.0.0-...-91c277e
Opens a new window with list of versions in this module.
Published: Dec 28, 2018
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Account struct {
ID uint `json:"id"`
Name string `json:"name"`
Bank string `json:"bank"`
AccountTypeID uint `json:"account_type_id"`
UserIDs []uint `json:"user_ids"`
}
type AccountType struct {
ID uint `json:"id"`
Label string `json:"label"`
}
type Category struct {
ID int `json:"id"`
Account int `json:"account"`
Name string `json:"name"`
}
type TransactionType uint
type User struct {
ID uint `json:"-"`
Username string `json:"username"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Email string `json:"email"`
PwdHash string `json:"-"`
IsAdmin bool `json:"is_admin"`
AccountIDs []uint `json:"account_ids"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.