discoprices

package
v0.51.5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*iniload.IniLoader
	Prices       []*Price
	BasesPerGood map[string][]*Price
	GoodsPerBase map[string][]*Price
}

func Read

func Read(input_file *iniload.IniLoader) *Config

func (*Config) Write

func (frelconfig *Config) Write() *file.File

type Price

type Price struct {
	semantic.Model
	BaseNickname      *semantic.String
	CommodityNickname *semantic.String
	Price             *semantic.Int
	SellOnly          *semantic.Bool
}

Jump to

Keyboard shortcuts

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