viper   304

« earlier    

knadh/koanf: Light weight extensible library for reading config (file, S3 etc.) in Go applications. Built in support for JSON, TOML, YAML, env, command line.
Light weight extensible library for reading config (file, S3 etc.) in Go applications. Built in support for JSON, TOML, YAML, env, command line. - knadh/koanf
golang  config  configuration  viper  alternative  reader 
7 weeks ago by pinterb
Consider env vars when unmarshalling · Issue #188 · spf13/viper
func bindEnvs(v *viper.Viper, iface interface{}, parts ...string) {
ifv := reflect.ValueOf(iface)
ift := reflect.TypeOf(iface)
for i := 0; i < ift.NumField(); i++ {
fieldv := ifv.Field(i)
t := ift.Field(i)
name := strings.ToLower(t.Name)
tag, ok := t.Tag.Lookup("mapstructure")
if ok {
name = tag
}
path := append(parts, name)
switch fieldv.Kind() {
case reflect.Struct:
bindEnvs(v, fieldv.Interface(), path...)
default:
v.BindEnv(strings.Join(path, "."))
...
viper  GoLang 
october 2019 by hackerzhut
Julian's Hot Wheels Blog: SRT Viper GTS-R (2019 Target Red Edition)
Time for some red, but not just any red, Target red! It's an exclusive car only found at Target, get them if you can!
cars  hot_wheels  viper  collecting 
june 2019 by rgl7194
spf13/viper: Go configuration with fangs
Go configuration with fangs. Contribute to spf13/viper development by creating an account on GitHub.
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. It supports:

setting defaults
reading from JSON, TOML, YAML, HCL, and Java properties config files
live watching and re-reading of config files (optional)
reading from environme...
cli  configuration  go  golang  config  library  github  viper  12factor  files 
may 2019 by tylerham

« earlier    

related tags

1  12factor  1le  2010s  4c  4vengine  90s  acr  acura  afterburner  afterburnerthursday  ageofempires  airplane  alfa  alternative  ambergris  android  aoe2  application  architecture  article  aston  audi  auta  auto  automotive  aviation  band  beaver  ben  benyosef  billy  blog  bmw  bustard  calf  camaro  car  carbon  cars  channel  chevrolet  clean  cli  cobra  cock  cockentrice  code  collecting  commandline  config  configmap  configuration  craigslist  day  design-patterns  design  designpatterns  development  devops  docker  dodge  dormouse  drifting  drive  engine  etcd  ethereum  etsy  evm  exhaust  f-ty...  f16  falcon  farah  favorites  favs  files  flags  flickr  ford  frog  generate  generator  github  go  golang  gt350r  gt40  gts  head  helmeted  honda  hot_wheels  iaf  ifttt  images  important  interview  ios  iosdev  israel  israelairforce  jaguar  jazz  kubernetes  la  laautoshow  laguna  layers  legs  library  load  log  m4  manual  martin  matt  mike  mobile  mod  music  mustang  musto  mvc  mvp  mvvm  network  nir  nsx  of  optimization  organization  osx  owner  package  pareil  patterns  pears  plus  prog_lang  programming  r8  racing  reader  reload  remote  review  rip  romeo  rôti  s  samochody  sans  schema  seca  shelby  show  slide  sloss  software  solid  song  sound  sounds  soup  spin  spinning  ss  stewed  structure  sunday  swift  synth  tail  template  templating  terminal  test  text  thoughtworks  thursday  till  tools  track  transmission  tub  turntable  tutorials  uber  v10  v12  vantage  versus  viper-etcd  virus  vs  warden  wordpress  wynajem  xcode-templating-project  xcode  xnir  z_car  © 

Copy this bookmark:



description:


tags: