blob: 281fc99c28c9e0e8413e4b5b72e5e5b709c99bc5 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "alertclient",
srcs = ["client.go"],
importpath = "go.skia.org/infra/am/go/alertclient",
visibility = ["//visibility:public"],
deps = [
"//am/go/incident",
"//am/go/silence",
"//go/util",
],
)
go_test(
name = "alertclient_test",
srcs = ["client_test.go"],
embed = [":alertclient"],
deps = [
"//go/testutils/unittest",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//mock",
],
)