blob: e24c5a8c8c11611e5eea2350226a22756dce3a92 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "sql",
srcs = ["util.go"],
importpath = "go.skia.org/infra/golden/go/sql",
visibility = ["//visibility:public"],
deps = [
"//go/jsonutils",
"//go/skerr",
"//golden/go/sql/schema",
"//golden/go/types",
],
)
go_test(
name = "sql_test",
srcs = ["util_test.go"],
embed = [":sql"],
deps = [
"//go/testutils/unittest",
"//golden/go/sql/schema",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)