gostructor

Migration & v1.0 changes

What changed in v1.0

Migrating from v0.x

The whole tag family (cf_env, cf_default, cf_json, cf_secret, cf_priority, …) is replaced by two tags, cfg and gos. Mechanical mapping:

Old New
cf_env:"DB_PORT" cfg:"port,env:DB_PORT" (or just cfg:"port"PORT)
cf_json:"server.host" cfg:"host,json:server.host"
cf_ini:"db#pw" cfg:"pw,ini:db#pw"
cf_yaml/cf_toml/cf_hocon/cf_vault:"..." cfg:"name,<source>:..."
cf_default:"8080" gos:"default:8080"
cf_secret:"" gos:"secret"
cf_priority:"..." + GOSTRUCTOR_PRIORITY source order in WithSources(...)

Other changes: