Documentation ¶
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 Mengeneinheit = iota + 1 // Watt, WH // Wattstunde KW // Kilowatt KWH // Kilowattstunde KVARH // Kilovarstunde MW // Megawatt MWH // Megawattstunde Stueck // number of pieces / Stückzahl KUBIKMETER // m^3 Stunde // hour Tag // day Monat // month Jahr // year Prozent // percent )
func (Mengeneinheit) MarshalJSON ¶
func (r Mengeneinheit) MarshalJSON() ([]byte, error)
MarshalJSON is generated so Mengeneinheit satisfies json.Marshaler.
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.