Skip to main content

go

RuleDescription
go_binaryA go_binary() rule builds a native executable from the supplied set of Go source files and dependencies.
go_bootstrap_binaryA go_bootstrap_binary() rule builds a minimal Go executable used during bootstrap, where the full go_binary() machinery is not yet available.
go_exported_libraryA go_exported_library() rule builds a C library from the supplied set of Go source files and dependencies.
go_libraryA go_library() rule builds a native library from the supplied set of Go source files and dependencies.
go_stdlibA go_stdlib() rule represents the Go standard library for the target configuration.
go_testA go_test() rule builds a native binary from the specified Go source and resource files—and a generated main file.