You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you create a public function in the package to generate code directly? This would allow users to utilize the library programmatically without needing to invoke the binary.
For example, it would be helpful to have a function like GenerateCode(config Config, schemaFiles []string) error that could be called from Go code. This would improve flexibility and make it easier to integrate the library into other tools or workflows.
Currently, the only way to generate code is by executing the binary, which introduces overhead when integrating with other Go projects.
Let me know your thoughts, and thank you for considering this suggestion!
The text was updated successfully, but these errors were encountered:
Could you create a public function in the package to generate code directly? This would allow users to utilize the library programmatically without needing to invoke the binary.
For example, it would be helpful to have a function like GenerateCode(config Config, schemaFiles []string) error that could be called from Go code. This would improve flexibility and make it easier to integrate the library into other tools or workflows.
Currently, the only way to generate code is by executing the binary, which introduces overhead when integrating with other Go projects.
Let me know your thoughts, and thank you for considering this suggestion!
The text was updated successfully, but these errors were encountered: