Closed saddit closed 1 year ago
YAML
public: abc
I suggest to add '-' as ignore tag
This function doesn't check whether field can interface or can't
// readStructMetadata reads structure metadata (types, tags, etc.)
func readStructMetadata(cfgRoot interface{}) ([]structMeta, error)
Thanks, I'll check
@ilyakaznacheev
It doesn't skip unexported field
Originally posted by @838239178 in https://github.com/ilyakaznacheev/cleanenv/issues/68#issuecomment-1279943050
Example