titel

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 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 Titel

type Titel int

Titel is a title

const (
	// DR is a PhD
	DR      Titel = iota + 1
	PROF          // PROF is a professor
	PROF_DR       // PROF_DR is a professor with PhD title
)

func (Titel) MarshalJSON

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

MarshalJSON is generated so Titel satisfies json.Marshaler.

func (Titel) String

func (i Titel) String() string

func (*Titel) UnmarshalJSON

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

UnmarshalJSON is generated so Titel satisfies json.Unmarshaler.

Jump to

Keyboard shortcuts

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