blob: 03eb3a4c2d8df4680f315836154b22013aaff874 [file] [log] [blame] [edit]
load("@io_bazel_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",
],
)