true_false

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 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 TrueFalse

type TrueFalse int
const (
	TRUE TrueFalse = iota + 1
	FALSE
)

func (TrueFalse) Des

func (e TrueFalse) Des() string

func (TrueFalse) Enum

func (e TrueFalse) Enum() string

func (TrueFalse) MarshalJSON

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

func (*TrueFalse) UnmarshalJSON

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

func (TrueFalse) Val

func (e TrueFalse) Val() int

Jump to

Keyboard shortcuts

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