rules_go_simple is a simple set of Bazel rules for building Go code. It
is intended to be a simple, clean, minimal example of how to write Bazel
rules for new languages.
The rules are divided into versions (v1, v2, etc.). Each version builds
upon the last and includes all the functionality of the previous
versions. The rules are fully commented, and the process of creating each
version is documented in a series of blog
posts.
v1: A minimal
example of a rule that produces an executable (go_binary). Described in
Simple binary
rule.
builder is a tool used to perform various tasks related to building Go code, such as compiling packages, linking executables, and generating test sources.
builder is a tool used to perform various tasks related to building Go code, such as compiling packages, linking executables, and generating test sources.
Click to show internal directories.
Click to hide internal directories.
go.dev uses cookies from Google to deliver and enhance the quality of its services and to
analyze traffic. Learn more.