Skip to content

Entry

env

Appears in 4 awesome lists

A simple, zero-dependencies library to parse environment variables into structs

Open github.comcaarlos0/env

Found in these lists

Awesome Go

Section: Configuration · Parse environment variables to Go structs (with defaults).

FreshScore 94

Awesome Go

Section: 配置 · star:5964 解析环境变量并赋值到struct中(默认值)。

FreshScore 89

go-awesome

Section: 配置 · 解析 ENV 环境变量到结构体中

StaleScore 56

awesome-go

Section: Logging and Configuration · A simple, zero-dependencies library to parse environment variables into structs

FreshScore 81

viper

Viper is a complete configuration solution for Go applications including 12-Factor apps. It is designed to work within an application, and can handle all types of configuration needs and formats.

In 7 listsDetails

kong

star:2951 Command-line parser with support for arbitrarily complex command-line structures and additional sources of configuration such as YAML, JSON, TOML, etc (successor to kingpin).

In 5 listsDetails

koanf

Simple, extremely lightweight, extensible, configuration management library for Go. Supports JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.

In 4 listsDetails

toml

TOML configuration format (encoder/decoder with reflection).

In 4 listsDetails

confd

Manage local application configuration files using templates and data from etcd or consul.

In 4 listsDetails

kelseyhightower/envconfig

Golang library for managing configuration data from environment variables

In 4 listsDetails

godotenv

A Go port of Ruby's dotenv library (Loads environment variables from .env files)

In 4 listsDetails

sonic

star:9122 A blazingly fast JSON serializing & deserializing library.

In 4 listsDetails