Go support
Added support for Go 1.10.2 and 1.9.6.
Bug fixes
- #1452 - Fix build error when go_test contains TestMain but no tests
- #1462 - Refactor coverage support
- #1471 - Fix coverage bugs
- #1478 - Fix coverage issues around cgo. (n.b. coverage with cgo is not supported yet, but it's closer to working than before).
WORKSPACE code
To use this release, add this code to your WORKSPACE file:
http_archive(
name = "io_bazel_rules_go",
url = "https://github.com/bazelbuild/rules_go/releases/download/0.11.1/rules_go-0.11.1.tar.gz",
sha256 = "1868ff68d6079e31b2f09b828b58d62e57ca8e9636edff699247c9108518570b",
)
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()