-
A module can be an executable and a library at the same time. For example, https://github.com/tsenart/vegeta
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
I’ve seen people put automatically generated code (e.g. from https://sqlc.dev/ or https://entgo.io/) inside a sub-internal package (e.g. db/internal) with the intention of never exposing it to the rest of the code. The rest of the code works with structs and functions exported by the parent package, which internally delegated to the generated code.
-
I’ve seen people put automatically generated code (e.g. from https://sqlc.dev/ or https://entgo.io/) inside a sub-internal package (e.g. db/internal) with the intention of never exposing it to the rest of the code. The rest of the code works with structs and functions exported by the parent package, which internally delegated to the generated code.