Help us shape the future of Go! Take the 2026 Go Developer Survey

flagparams

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	FlagSet *pflag.FlagSet

	Usage func()
	// contains filtered or unexported fields
}

func New

func New(filename string, param *v1.ParamSpec) *Flags

func (*Flags) Parse

func (f *Flags) Parse(args []string) (map[string]any, error)

Jump to

Keyboard shortcuts

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