load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_binary") go_library( name = "go_default_library", srcs = ["main.go"], importmap = "go-common/vendor/github.com/prometheus/client_golang/examples/random", importpath = "github.com/prometheus/client_golang/examples/random", visibility = ["//visibility:private"], deps = ["//vendor/github.com/prometheus/client_golang/prometheus:go_default_library"], ) go_binary( name = "random", embed = [":go_default_library"], visibility = ["//visibility:public"], ) filegroup( name = "package-srcs", srcs = glob(["**"]), tags = ["automanaged"], visibility = ["//visibility:private"], ) filegroup( name = "all-srcs", srcs = [":package-srcs"], tags = ["automanaged"], visibility = ["//visibility:public"], )