env v1
The env package provides a simple way to manage environment variables in Go applications. It allows you to retrieve environment variables as different data types and handle required variables graceful
Repository
Installation
Creating an Environment Variable
Methods
String()
Strings()
Int()
Bool()
Float()
Uint()
Example
Last updated