internal

package
v0.0.0-...-f56aa01 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, logger *zap.Logger, cfg *Config, storageAdapter storage.StorageAdapter) error

Types

type Config

type Config struct {
	YnabToken       string          `yaml:"ynabToken"`
	BudgetId        uuid.UUID       `yaml:"budgetId"`
	SplitCategoryId uuid.UUID       `yaml:"splitCategoryId"`
	Accounts        []accountConfig `yaml:"accounts"`
	Flags           []flagConfig    `yaml:"flags"`
}

func LoadConfig

func LoadConfig(reader io.Reader) (*Config, error)

Directories

Path Synopsis
Package ynab provides primitives to interact with the openapi HTTP API.
Package ynab provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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