property

package
v0.0.0-...-5bc32a5 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnknownString string = "UNKNOWN"
	LowString     string = "LOW"
	HighString    string = "HIGH"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level int
const (
	Unknown Level = iota
	Low
	High
)

func (Level) MarshalGQL

func (_g Level) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (*Level) Scan

func (p *Level) Scan(val any) error

Scan tells our code how to read the enum into our type.

func (Level) String

func (p Level) String() string

func (*Level) UnmarshalGQL

func (_g *Level) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

func (Level) Value

func (p Level) Value() (driver.Value, error)

Value provides the DB a string from int.

func (Level) Values

func (Level) Values() []string

Values provides list valid values for Enum.

Jump to

Keyboard shortcuts

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