All Projects → kayac → go-config

kayac / go-config

Licence: MIT license
Configuration file loader for Go

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to go-config

paerser
No description or website provided.
Stars: ✭ 38 (+40.74%)
Mutual labels:  yaml, toml, configuration
Konf
A type-safe cascading configuration library for Kotlin/Java/Android, supporting most configuration formats
Stars: ✭ 225 (+733.33%)
Mutual labels:  yaml, toml, configuration
Fig
A minimalist Go configuration library
Stars: ✭ 142 (+425.93%)
Mutual labels:  yaml, toml, configuration
Night Config
Powerful java configuration library for toml, yaml, hocon, json and in-memory configurations
Stars: ✭ 93 (+244.44%)
Mutual labels:  yaml, toml, configuration
parse it
A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.
Stars: ✭ 86 (+218.52%)
Mutual labels:  yaml, toml, configuration
Simple Settings
A simple way to manage your project settings.
Stars: ✭ 165 (+511.11%)
Mutual labels:  yaml, toml, configuration
Config Lite
A super simple & flexible & useful config module.
Stars: ✭ 78 (+188.89%)
Mutual labels:  yaml, toml, configuration
Dasel
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.
Stars: ✭ 759 (+2711.11%)
Mutual labels:  yaml, toml, configuration
climatecontrol
Python library for loading settings and config data from files and environment variables
Stars: ✭ 20 (-25.93%)
Mutual labels:  yaml, toml, configuration
cfg-rs
A Configuration Library for Rust Applications
Stars: ✭ 18 (-33.33%)
Mutual labels:  yaml, toml, configuration
Koanf
Light weight, extensible configuration management library for Go. Built in support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Stars: ✭ 450 (+1566.67%)
Mutual labels:  yaml, toml, configuration
Resticprofile
Configuration profiles for restic backup
Stars: ✭ 48 (+77.78%)
Mutual labels:  yaml, toml, configuration
Datafiles
A file-based ORM for Python dataclasses.
Stars: ✭ 113 (+318.52%)
Mutual labels:  yaml, toml
Rq
Record Query - A tool for doing record analysis and transformation
Stars: ✭ 1,808 (+6596.3%)
Mutual labels:  yaml, toml
Configurate
A simple configuration library for Java applications providing a node structure, a variety of formats, and tools for transformation
Stars: ✭ 148 (+448.15%)
Mutual labels:  yaml, configuration
Re Txt
converts text-formats from one to another, it is very useful if you want to re-format a json file to yaml, toml to yaml, csv to yaml, ... etc
Stars: ✭ 59 (+118.52%)
Mutual labels:  yaml, toml
Python Benedict
dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities. 📘
Stars: ✭ 204 (+655.56%)
Mutual labels:  yaml, toml
Config
📝 Go config manage(load,get,set). support JSON, YAML, TOML, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名
Stars: ✭ 225 (+733.33%)
Mutual labels:  yaml, toml
Cli
A simple, fast, and fun package for building command line apps in Go
Stars: ✭ 16,995 (+62844.44%)
Mutual labels:  yaml, toml
Config
Configuration for Go applications
Stars: ✭ 239 (+785.19%)
Mutual labels:  yaml, configuration

go-config

go-config is a configuration loader package.

See godoc.org/github.com/kayac/go-config.

merge-env-config

merge-env-config is the cli tool to deal with template files.

for example:

{
    "name": "some function name",
    "description": "some description",
    "environment": {
        "account_id": "{{ must_env `SOME_MUST_ACCOUNT_ID` }}",
        "secret_key": "{{ env `SOME_SECRET_KEY` }}"
    }
}
$ SOME_MUST_ACCOUNT_ID=must_account_id SOME_SECRET_KEY=some_secret_key merge-env-config -json function.prod.json.tmpl
{
    "name": "some function name",
    "description": "some description",
    "environment": {
        "account_id": "must_account_id",
        "secret_key": "some_secret_key"
    }
}

Author

Copyright (c) 2017 KAYAC Inc.

LICENSE

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].