...

Text file src/edge-infra.dev/pkg/edge/api/apierror/sql/BUILD.bazel

Documentation: edge-infra.dev/pkg/edge/api/apierror/sql

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "sql",
     5    srcs = ["sql_error.go"],
     6    importpath = "edge-infra.dev/pkg/edge/api/apierror/sql",
     7    visibility = ["//visibility:public"],
     8    deps = [
     9        "//pkg/edge/api/sql/utils",
    10        "@com_github_jackc_pgconn//:pgconn",
    11        "@com_github_jackc_pgx_v4//:pgx",
    12        "@com_github_lib_pq//:pq",
    13    ],
    14)
    15
    16go_test(
    17    name = "sql_test",
    18    srcs = ["sql_error_test.go"],
    19    embed = [":sql"],
    20    deps = [
    21        "@com_github_jackc_pgconn//:pgconn",
    22        "@com_github_lib_pq//:pq",
    23        "@com_github_stretchr_testify//assert",
    24    ],
    25)

View as plain text