Documentation ¶
Overview ¶
Code auto-generated; DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mengeneinheit ¶
type Mengeneinheit int
Mengeneinheit is a unit used for measurements
const ( // W is for Watt W Mengeneinheit = iota + 1 WH // WH is for Watt hour KW // KW is for Kilo watt KWH // KWH is for Kilo watt hour KVARH // KVARH is the abbreviation for Kilovarstunde MW // MW is for Megawatt MWH // MWH is for Mega watt hour STUECK // STUECK is for number of pieces / Stückzahl ANZAHL // ANZAHL means the same as STUECK (it has been renamed in the official docs, so this is just a fallback, use STUECK if you can); see also https://github.com/Hochfrequenz/BO4E-python/issues/359 KUBIKMETER // KUBIKMETER is m^3 STUNDE // STUNDE is 1 hour TAG // TAG is 1 day MONAT // MONAT is 1 month JAHR // JAHR is year PROZENT // PROZENT is percent )
func (Mengeneinheit) MarshalJSON ¶
func (r Mengeneinheit) MarshalJSON() ([]byte, error)
MarshalJSON is generated so Mengeneinheit satisfies json.Marshaler.
func (*Mengeneinheit) Scan ¶ added in v0.2.3
func (r *Mengeneinheit) Scan(src interface{}) error
Scan sets r to the enum value represented by src. It implements the sql.Scanner interface to be useable by sql drivers when reading from database.
func (Mengeneinheit) String ¶
func (i Mengeneinheit) String() string
func (*Mengeneinheit) UnmarshalJSON ¶
func (r *Mengeneinheit) UnmarshalJSON(data []byte) error
UnmarshalJSON is generated so Mengeneinheit satisfies json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.