blob: 2b58555a01b9d0814e9fd4ea2b95cf36dfc8554a [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "memory",
srcs = [
"comments.go",
"memory.go",
],
importpath = "go.skia.org/infra/task_scheduler/go/db/memory",
visibility = ["//visibility:public"],
deps = [
"//go/now",
"//go/sklog",
"//go/util",
"//task_scheduler/go/db",
"//task_scheduler/go/db/firestore",
"//task_scheduler/go/types",
"@com_github_google_uuid//:uuid",
],
)
go_test(
name = "memory_test",
srcs = [
"comments_test.go",
"memory_test.go",
"modified_chan_test.go",
],
embed = [":memory"],
deps = [
"//go/deepequal/assertdeep",
"//task_scheduler/go/db",
],
)