blob: 56d62235a88d2121935dca00fab99177164ab477 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "memcached",
srcs = ["memcached.go"],
importpath = "go.skia.org/infra/perf/go/cache/memcached",
visibility = ["//visibility:public"],
deps = [
"//go/skerr",
"//go/sklog",
"//perf/go/cache",
"//perf/go/cache/local",
"@com_github_bradfitz_gomemcache//memcache",
],
)
go_test(
name = "memcached_test",
srcs = ["memcached_manual_test.go"],
embed = [":memcached"],
deps = [
"//go/testutils/unittest",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)