blob: 720f5662c8e07df47c807f0b6316dc593c6fc9f1 [file] [log] [blame] [edit]
load("@rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "client",
srcs = ["client.go"],
importpath = "go.skia.org/infra/scrap/go/client",
visibility = ["//visibility:public"],
deps = [
"//go/httputils",
"//go/skerr",
"//go/util",
"//scrap/go/scrap",
],
)
go_test(
name = "client_test",
srcs = ["client_test.go"],
embed = [":client"],
deps = [
"//go/testutils",
"//scrap/go/api",
"//scrap/go/scrap",
"//scrap/go/scrap/mocks",
"@com_github_go_chi_chi_v5//:chi",
"@com_github_stretchr_testify//mock",
"@com_github_stretchr_testify//require",
],
)