/nb-go-env

Noob Go Env, used to load environment variables from .env or for system-wide environments

Primary LanguageGoMIT LicenseMIT

Noob-Env

Go Reference GitHub go.mod Go version (subdirectory of monorepo) GitHub release (latest by date)

Noob Env is a tools for working with .env, such as:

  • Load Env
  • Get Env

Noob Env use GoDotEnv v1.4.0 to load & parse .env. Thanks to godotenv**

Contents

Installation

To install this package, you need to install Go (version 1.17+ is required) & initiate your Go workspace first.

  1. After you initiate your workspace then you can install this package with below command.
go get -u github.com/alfarih31/nb-go-env
  1. Import it in your code
import "github.com/alfarih31/nb-go-env"

Quick Start & Usage

See the test:

Contributors

License

This project is licensed under the - see the LICENSE.md file for details