options-gen
options-gen copied to clipboard
Codegen for functional options in go projects
In a real world we change our software sometimes, but is some cases - we would like to have an option to provide a smooth way to migrate from old...
options-gen should have option `auto` for `-defaults-from` flag. This flag will be used by default. When `-defaults-from=auto` is used, options-gen should try to find one of defaults source: - `default`...
**Note**: This issue is planned for the next major release, because these changes will break backward compatibility. When the generator is working - it can produce several warnings about some...