blob: f8872126eb1de6859e1d69de69815dd3b4e15d23 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "allowed",
srcs = [
"allowed.go",
"infra_auth_allowed.go",
],
importpath = "go.skia.org/infra/go/allowed",
visibility = ["//visibility:public"],
deps = [
"//go/sklog",
"//go/util",
],
)
go_test(
name = "allowed_test",
srcs = [
"allowed_test.go",
"infra_auth_allowed_test.go",
],
embed = [":allowed"],
deps = [
"//go/mockhttpclient",
"//go/testutils/unittest",
"@com_github_stretchr_testify//assert",
],
)