yes_no

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelectOptions

func SelectOptions() []models.SelectOptions

Types

type YesNo

type YesNo int
const (
	Yes YesNo = iota + 1
	No
)

func (YesNo) Des

func (e YesNo) Des() string

func (YesNo) Enum

func (e YesNo) Enum() string

func (YesNo) MarshalJSON

func (e YesNo) MarshalJSON() ([]byte, error)

func (*YesNo) UnmarshalJSON

func (e *YesNo) UnmarshalJSON(value []byte) error

func (YesNo) Val

func (e YesNo) Val() int

Jump to

Keyboard shortcuts

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