higherLatEnum

package
v0.0.0-...-61f454b Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HigherLat

type HigherLat int

HigherLat .

const (
	// NightMiddle .
	NightMiddle HigherLat = iota + 1
	// OneSeventh .
	OneSeventh
	// AngleBased .
	AngleBased
	// None .
	None
)

func GetAll

func GetAll() []HigherLat

func (HigherLat) Code

func (c HigherLat) Code() string

Code .

func (HigherLat) MarshalJSON

func (c HigherLat) MarshalJSON() ([]byte, error)

MarshalJSON presents value to the client

func (HigherLat) Name

func (c HigherLat) Name() string

Name .

func (*HigherLat) Scan

func (c *HigherLat) Scan(val interface{}) error

Scan retrieves value from the DB

func (*HigherLat) UnmarshalJSON

func (c *HigherLat) UnmarshalJSON(val []byte) error

UnmarshalJSON parses value from the client

func (*HigherLat) UnmarshalParam

func (c *HigherLat) UnmarshalParam(src string) error

UnmarshalParam parses value from the client (handled by gorm)

func (HigherLat) Value

func (c HigherLat) Value() (driver.Value, error)

Value encodes value to the DB

type HigherLatClass

type HigherLatClass struct {
	Code string `json:"code"`
	Name string `json:"name"`
}

HigherLatClass .

func AsCompleteConstants

func AsCompleteConstants() []HigherLatClass

AsCompleteConstants presents constants as their complete object form

Jump to

Keyboard shortcuts

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