cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type EnumValue added in v0.3.0

type EnumValue struct {
	Value   string
	Allowed []string
}

func (*EnumValue) Set added in v0.3.0

func (e *EnumValue) Set(val string) error

func (*EnumValue) String added in v0.3.0

func (e *EnumValue) String() string

func (*EnumValue) Type added in v0.3.0

func (e *EnumValue) Type() string

type ErrorCode

type ErrorCode struct {
	Code int
	Err  error
}

func NewErrorCode

func NewErrorCode(code int, err error) *ErrorCode

func (*ErrorCode) Error

func (e *ErrorCode) Error() string

Jump to

Keyboard shortcuts

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