flags

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const TrueValue = "true"

Variables

This section is empty.

Functions

func Parse

func Parse(args []string) ([]string, map[string]string, error)

Types

type ErrInvalidFlag

type ErrInvalidFlag struct {
	Arg string
}

func (ErrInvalidFlag) Error

func (err ErrInvalidFlag) Error() string

type ErrRepeatedFlag

type ErrRepeatedFlag struct {
	Arg string
}

func (ErrRepeatedFlag) Error

func (err ErrRepeatedFlag) Error() string

Jump to

Keyboard shortcuts

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