flag

package
v0.0.0-...-3bb466a Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseSet

func ParseSet(appname string, declaration func(FlagSet)) error

Types

type FlagSet

type FlagSet interface {
	String(v *string, usage string, parts ...string)
	Int(v *int, usage string, parts ...string)
	Float64(v *float64, usage string, parts ...string)
	Bool(v *bool, usage string, parts ...string)
	Duration(v *time.Duration, usage string, parts ...string)
}

Jump to

Keyboard shortcuts

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