Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 496 Bytes

File metadata and controls

18 lines (12 loc) · 496 Bytes

utils Go

Go utils. This package contains some useful functions. It is used in other packages of the flow-lab org.

Installation

# Install the package
go get github.com/flow-lab/utils

# Import in the project
import utils "github.com/flow-lab/utils"

# Use it
envVar := utils.EnvOrDefault("ENV_VAR", "default_value")

License MIT