enum

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 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 Status

type Status uint

Status AAA BBB

const (
	// Running (running) todo
	Running Status = iota
)

func ParseStatus

func ParseStatus(str string) (Status, error)

ParseStatus Parse Status from string

func (Status) Is

func (t Status) Is(target Status) bool

Is todo

func (Status) MarshalJSON

func (t Status) MarshalJSON() ([]byte, error)

MarshalJSON todo

func (Status) String

func (t Status) String() string

String stringer

func (*Status) UnmarshalJSON

func (t *Status) UnmarshalJSON(b []byte) error

UnmarshalJSON todo

Jump to

Keyboard shortcuts

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