package
0.0.0-20201020153340-53909ea70814
Repository: https://github.com/gagliardetto/golang-go.git
Documentation: pkg.go.dev
# Functions
AddKnownFlags registers the flags in defns with base.AddKnownFlag.
FindGOFLAGS extracts and returns the flags matching defns from GOFLAGS.
IsBool reports whether v is a bool flag.
Parse sees if argument i is present in the definitions and if so, returns its definition, value, and whether it consumed an extra word.
SetBool sets the addressed boolean to the value.
SetInt sets the addressed integer to the value.
SyntaxError reports an argument syntax error and exits the program.