Bools not working
mjudeikis opened this issue · comments
Mangirdas Judeikis commented
Bool variables not working.
config:
type Config struct {
APPName string `default:"app name"`
InsecurePolicy bool
file:
appname: test
InsecurePolicy: true
output:
INFO[0000] {"APPName":"test","InsecurePolicy":false, ...
Mangirdas Judeikis commented
Update. They work, but all config files have to be in lower cases :/
InsecurePolicy: true -> insecurepolicy: true