sparte

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sparte

type Sparte int

Sparte contains different divisions of typical utilities.

const (
	Strom      Sparte = iota + 1 // power/electricity
	Gas                          // gas
	Fernwaerme                   // long-distance heat
	Nahwaerme                    // local heat
	Wasser                       // water
	Abwasser                     // waste water
)

func (Sparte) MarshalJSON

func (r Sparte) MarshalJSON() ([]byte, error)

MarshalJSON is generated so Sparte satisfies json.Marshaler.

func (Sparte) String

func (i Sparte) String() string

func (*Sparte) UnmarshalJSON

func (r *Sparte) UnmarshalJSON(data []byte) error

UnmarshalJSON is generated so Sparte satisfies json.Unmarshaler.

Jump to

Keyboard shortcuts

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