Registry / config / gogap-env-json

gogap-env-json

JSON →
library0.0.0-20150503135429-86150085ddbegogounverified

A Go library for parsing environment variables as JSON, enabling structured configuration from environment variables.

go get github.com/gogap/env_json
INSTALL
IMPORT
SIG · GOGAP-ENV-JSON
G
gogap-env-json
configgov0.0.0-20150503135429-86150085ddbe
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

env_json
github.com/gogap/env_json

Unmarshal environment variables into a struct.

package main import ( "fmt" "github.com/gogap/env_json" ) func main() { var config struct { Name string `json:"name"` } err := env_json.Unmarshal(&config) if err != nil { panic(err) } fmt.Println(config.Name) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20150503135429-86150085ddbelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Resources
gogap-env-json — go get gogap-env-json · libregistry