Discover Packages
github.com/flashbots/go-utils
cli
package
Version:
v0.4.5
Opens a new window with list of versions in this module.
Published: May 24, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package cli implements various reusable utility functions for command-line interfaces.
CheckErr panics if err is not nil
GetEnv returns the value of the environment variable named by key, or defaultValue if the environment variable doesn't exist
GetEnvInt returns the value of the environment variable named by key, or defaultValue if the environment variable
doesn't exist or is not a valid integer
Source Files
¶
Click to show internal directories.
Click to hide internal directories.