unit_converter

package
v0.0.0-...-0b3c072 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnitConverter

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

func NewUnitConverter

func NewUnitConverter(kind string, boards []pod_data.Board, unitToOperations map[string]utils.Operations) UnitConverter

func (*UnitConverter) Convert

func (converter *UnitConverter) Convert(name string, value float64) (float64, error)

func (*UnitConverter) Revert

func (converter *UnitConverter) Revert(name string, value float64) (float64, error)

Jump to

Keyboard shortcuts

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