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