denormalizer

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// denormalized keys
	BASE_KEY_NAME    = "name"
	BASE_KEY_RECYCLE = "is_recycle_candidate"
)

Variables

This section is empty.

Functions

func Run

func Run(configs *configs_mapped.MappedConfigs)

Types

type Base

type Base struct {
	// TODO refactor into denormalizer somehow.
	Name             *semantic.String // denormalized always disabled param
	RecycleCandidate *semantic.String // denormalized always disabled param
}

type BaseDenormalizer

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

func NewBaseDenormalizer added in v1.4.0

func NewBaseDenormalizer() *BaseDenormalizer

func (*BaseDenormalizer) MarketWrite

func (denormalizer *BaseDenormalizer) MarketWrite(marketconfig *market_mapped.Config)

func (*BaseDenormalizer) Read

func (*BaseDenormalizer) ReadBaseNames

func (denormalizer *BaseDenormalizer) ReadBaseNames(marketconfig *market_mapped.Config, universeConfig *universe_mapped.Config, infocards *infocard.Config)

func (*BaseDenormalizer) ReadRecycle

func (denormalizer *BaseDenormalizer) ReadRecycle(marketconfig *market_mapped.Config, universeConfig *universe_mapped.Config, systems *systems_mapped.Config)

func (*BaseDenormalizer) UniverseWrite

func (denormalizer *BaseDenormalizer) UniverseWrite(universeConfig *universe_mapped.Config)

func (*BaseDenormalizer) Write

func (d *BaseDenormalizer) Write(parsed *configs_mapped.MappedConfigs)

type BaseGood

type BaseGood struct {
	// TODO refactor into denormalizer somehow.
	Name             *semantic.String // denormalized always disabled param
	RecycleCandidate *semantic.String // denormalized always disabled param
}

type DenormalizedBaseGood

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

Jump to

Keyboard shortcuts

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