enum

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 0 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataType added in v0.1.3

type DataType string
const (
	DataTypeString DataType = "string"
	DataTypeInt    DataType = "int"
	DataTypeFloat  DataType = "float"
	DataTypeBool   DataType = "bool"
)

func (DataType) String added in v0.1.3

func (d DataType) String() string

type Status

type Status string

Status type for enum

const (
	// Unknown status for unknown
	Unknown Status = ""
	// Enabled enabled
	Enabled Status = "enabled"
	// Disabled disabled
	Disabled Status = "disabled"
	// Locked lock status
	Locked Status = "locked"
)

func (Status) String

func (s Status) String() string

String string

Jump to

Keyboard shortcuts

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