github.com/alecthomas/kong-hcl is a Kong configuration loader for HCL
implemented for the Go programming language.
.
It may be used like so:
.
var cli struct {
Config kong.ConfigFlag `help:"Load configuration."`
}
parser, err := kong.New(&cli, kong.Configuration(konghcl.Loader,
"/etc/myapp/config.hcl", "~/.myapp.hcl))
Installed Size: 29.7 kB
Architectures: all