flags

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPkey string = "http"
	CLIkey  string = "cli"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Flag

type Flag struct {
	// contains filtered or unexported fields
}

type Flags

type Flags map[int]Flag

func New added in v0.7.2

func New(httpFlag, cliFlag bool) Flags

func (Flags) Validate

func (f Flags) Validate() (string, error)

Jump to

Keyboard shortcuts

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