goconfig
goconfig copied to clipboard
Parse or Generate
I want to support more complex types in version 2 of the goconfig. For example, types like time.Time and others and of course, I want to do this with as much backward compatibility as possible.
The goconfig needs to be simple to use, fast and not to load the target system with unnecessary packages. But to parse more complex types, the code is getting significantly larger and complex.
I'm wondering if in version 2 is not a better idea to generate code using go generate instead of parsing it on-the-fly.
I would like to read the opinions of those who use the package today so that we can decide which direction we should take.