waehrungseinheit

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 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 Waehrungseinheit

type Waehrungseinheit int

Waehrungseinheit models euro and euro cent. In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in Preisen.

const (
	// EUR is for Euro
	EUR Waehrungseinheit = iota + 1
	// CT is for Eurocent
	CT
)

func (Waehrungseinheit) MarshalJSON

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

MarshalJSON is generated so Waehrungseinheit satisfies json.Marshaler.

func (Waehrungseinheit) String

func (i Waehrungseinheit) String() string

func (*Waehrungseinheit) UnmarshalJSON

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

UnmarshalJSON is generated so Waehrungseinheit satisfies json.Unmarshaler.

Jump to

Keyboard shortcuts

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