...

Text file src/edge-infra.dev/pkg/sds/emergencyaccess/config/BUILD.bazel

Documentation: edge-infra.dev/pkg/sds/emergencyaccess/config

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "config",
     5    srcs = [
     6        "config.go",
     7        "database.go",
     8    ],
     9    importpath = "edge-infra.dev/pkg/sds/emergencyaccess/config",
    10    visibility = ["//visibility:public"],
    11    deps = ["//pkg/lib/gcp/cloudsql"],
    12)
    13
    14go_test(
    15    name = "config_test",
    16    srcs = ["database_test.go"],
    17    embed = [":config"],
    18    deps = [
    19        "@com_github_data_dog_go_sqlmock//:go-sqlmock",
    20        "@com_github_stretchr_testify//assert",
    21    ],
    22)

View as plain text