registry

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account = account.Account

type Commodity

type Commodity = commodity.Commodity

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

Registry has context for the model, namely a collection of referenced accounts and commodities.

func New

func New() *Registry

New creates a new, empty context.

func (Registry) Accounts

func (reg Registry) Accounts() *account.Registry

Accounts returns the accounts.

func (Registry) Commodities

func (reg Registry) Commodities() *commodity.Registry

Commodities returns the commodities.

Jump to

Keyboard shortcuts

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