go-parse-environment

Parsing environment variables from .env files.

package main

import (
  oktaUtils "https://github.com/dhyanio/go-envparse"
)

func main() {
  oktaUtils.ParseEnvironment()
}

.env file

CLIENT_ID=75848585h579yg9
CLIENT_SECRET=t3-dg3l585ijs09u5-t35j95
ISSUER=https://<okta_project_url>/oauth2/default

GitHub

View Github