Discover Packages
github.com/flashbots/go-utils
cli
package
Version:
v0.8.2
Opens a new window with list of versions in this module.
Published: Nov 20, 2024
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.