...

Text file src/edge-infra.dev/pkg/sds/interlock/topic/BUILD.bazel

Documentation: edge-infra.dev/pkg/sds/interlock/topic

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "topic",
     5    srcs = ["topic.go"],
     6    importpath = "edge-infra.dev/pkg/sds/interlock/topic",
     7    visibility = ["//visibility:public"],
     8    deps = [
     9        "//pkg/lib/fog",
    10        "//pkg/sds/interlock/internal/config",
    11        "//pkg/sds/interlock/internal/errors",
    12        "//pkg/sds/interlock/websocket",
    13        "@com_github_gin_gonic_gin//:gin",
    14        "@com_github_gin_gonic_gin//binding",
    15        "@com_github_go_playground_validator_v10//:validator",
    16    ],
    17)
    18
    19go_test(
    20    name = "topic_test",
    21    srcs = [
    22        "topic_int_test.go",
    23        "topic_test.go",
    24    ],
    25    embed = [":topic"],
    26    deps = [
    27        "//pkg/lib/fog",
    28        "//pkg/sds/interlock/websocket",
    29        "@com_github_gin_gonic_gin//:gin",
    30        "@com_github_gin_gonic_gin//binding",
    31        "@com_github_go_playground_validator_v10//:validator",
    32        "@com_github_stretchr_testify//assert",
    33        "@com_github_stretchr_testify//require",
    34    ],
    35)

View as plain text