energierichtung

package
v0.6.7 Latest Latest
Warning

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

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

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 Energierichtung

type Energierichtung int

Energierichtung describes if the energy is supplied out of or fed into the grid

const (
	// AUSSP is short for "Ausspeisung" / supply
	AUSSP Energierichtung = iota + 1
	EINSP                 // EINSP is short for "Einspeisung" / feeding
)

func (Energierichtung) MarshalJSON

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

MarshalJSON is generated so Energierichtung satisfies json.Marshaler.

func (*Energierichtung) Scan added in v0.2.3

func (r *Energierichtung) 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 (Energierichtung) String

func (i Energierichtung) String() string

func (*Energierichtung) UnmarshalJSON

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

UnmarshalJSON is generated so Energierichtung satisfies json.Unmarshaler.

func (Energierichtung) Value added in v0.2.3

func (r Energierichtung) Value() (driver.Value, error)

Value returns the string representation of r or an error, if no string representation exists. It implements the sql.Valuer interface to be useable by sql drivers when storing enums.

Jump to

Keyboard shortcuts

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