enums

package
v0.0.0-...-e3c2de5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 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 Flavour

type Flavour string

Flavour is a list of application types.

const (
	//FlavourPro represents the admin app
	FlavourPro Flavour = "PRO"
	// FlavourConsumer represents the tenant app user
	FlavourConsumer Flavour = "CONSUMER"
)

func (Flavour) IsValid

func (f Flavour) IsValid() bool

IsValid returns true if a flavour type is valid

func (Flavour) MarshalGQL

func (f Flavour) MarshalGQL(w io.Writer)

MarshalGQL writes the flavour type to the supplied

func (Flavour) String

func (f Flavour) String() string

func (*Flavour) UnmarshalGQL

func (f *Flavour) UnmarshalGQL(v interface{}) error

UnmarshalGQL converts the supplied value to a flavour type.

Jump to

Keyboard shortcuts

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