blob: 699a7dff33aee93c213b7749e7ceb5c794a6a404 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "webhook",
srcs = ["webhook.go"],
importpath = "go.skia.org/infra/go/webhook",
visibility = ["//visibility:public"],
deps = [
"//go/metadata",
"//go/secret",
"//go/sklog",
"//go/util",
],
)
go_test(
name = "webhook_test",
srcs = ["webhook_test.go"],
embed = [":webhook"],
deps = [
"//go/util",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)