package
0.0.0-20200114213136-8223eb1817fb
Repository: https://github.com/square/p2.git
Documentation: pkg.go.dev
# Functions
Bool declares a new "bool"-typed parameter with the given default value.
Float64 declares a new "float64"-typed parameter with the given default value.
Int declares a new "int"-typed parameter with the given default value.
Int64 declares a new "int64"-typed parameter with the given default value.
Parse parses the parameter assignments for the default set of parameters.
ParseFlags parses a map of parameter assignments that are defined by a FlagSet.
String declares a new "string"-typed parameter with the given default value.
# Variables
DefaultParams holds the default set of parameters, used by all package-level functions.
# Type aliases
Values is a type alias that can be used to help document the configuration values that are meant to be define parameters.