load("@io_bazel_rules_go//go:def.bzl", "go_library") | |
load("//bazel/go:go_test.bzl", "go_test") | |
go_library( | |
name = "prom", | |
srcs = ["prom.go"], | |
importpath = "go.skia.org/infra/go/prom", | |
visibility = ["//visibility:public"], | |
) | |
go_test( | |
name = "prom_test", | |
srcs = ["prom_test.go"], | |
embed = [":prom"], | |
deps = ["@com_github_stretchr_testify//assert"], | |
) |