Documentation ¶ Overview ¶ Package flags is a helper module that can be used to provide common functionality for flag sets Index ¶ func Usage(help string, flags *flag.FlagSet) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Usage ¶ func Usage(help string, flags *flag.FlagSet) string Usage takes a help string and a flag set and appends the flags and their descriptions below the help string and returns it. This is to standardize the usage function across the different environments. Types ¶ This section is empty. Source Files ¶ View all Source files flags.go Click to show internal directories. Click to hide internal directories.