customunit

package
v1.58.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UnitCombinationss = struct {
	Power    UnitCombinations
	Product  UnitCombinations
	Quotient UnitCombinations
	Scalar   UnitCombinations
}{
	"POWER",
	"PRODUCT",
	"QUOTIENT",
	"SCALAR",
}

Functions

This section is empty.

Types

type Settings

type Settings struct {
	Description string `json:"newUnitDescription"` // Unit description should provide additional information about the new unit
	Name        string `json:"newUnitName"`        // Unit name has to be unique and is used as identifier.
	PluralName  string `json:"newUnitPluralName"`  // Unit plural name represent the plural form of the unit name.
	Symbol      string `json:"newUnitSymbol"`      // Unit symbol has to be unique.
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

type UnitCombinations

type UnitCombinations string

Jump to

Keyboard shortcuts

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