goenv

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Prefix is a string that would be placed at the beginning of the generated tags.
	Prefix string

	// Usage is the function that is called when an error occurs.
	Usage func()

	// PrintDefaultsOutput changes the default output help string
	PrintDefaultsOutput string
)

Functions

func DefaultUsage

func DefaultUsage()

DefaultUsage is assigned for Usage function by default

func Parse

func Parse(config interface{}) (err error)

Parse configuration

func PrintDefaults

func PrintDefaults()

PrintDefaults print the default help

func SetTag

func SetTag(tag string)

SetTag set a new tag

func SetTagDefault

func SetTagDefault(tag string)

SetTagDefault set a new TagDefault to retorn default values

func Setup

func Setup(tag string, tagDefault string)

Setup maps and variables

Types

This section is empty.

Jump to

Keyboard shortcuts

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