Discover Packages
github.com/bazelbuild/rules_go
examples
hello
command
Version:
v0.53.0
Opens a new window with list of versions in this module.
Published: Feb 11, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
rules_go "Hello World" example
This directory contains a minimal, standalone example using Bazel and rules_go. It shows how to use the go_binary
, go_library
, and go_test
rules without requiring any other dependencies.
To run the binary:
bazel run //:hello
To test the library:
bazel test //:hello_test
For an explanation and an introduction to Bazel, see Bazel Tutorial: Build a Go Project .
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.