| load("@io_bazel_rules_go//go:def.bzl", "go_library") | |
| load("//bazel/go:go_test.bzl", "go_test") | |
| go_library( | |
| name = "shortcut", | |
| srcs = ["shortcut.go"], | |
| importpath = "go.skia.org/infra/perf/go/shortcut", | |
| visibility = ["//visibility:public"], | |
| deps = ["@com_github_jackc_pgx_v4//:pgx"], | |
| ) | |
| go_test( | |
| name = "shortcut_test", | |
| srcs = ["shortcut_test.go"], | |
| embed = [":shortcut"], | |
| deps = ["@com_github_stretchr_testify//assert"], | |
| ) |