- https://registry.bazel.build/modules/rules_go supports monorepo first-party packages
- https://registry.bazel.build/modules/gazelle adds external packages, and generates the BUILD files for them.
Bazel 103: Go
rules_go and gazelle
Understand how Bazel supports Go through rules_go for first-party packages and gazelle for external modules and automatic BUILD file generation.
Like any language, Bazel must be taught how to work with Go. Unlike other languages however, the commonly used rules for Go are broken into two modules.
Was this page helpful?
⌘I

