...

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

Documentation: edge-infra.dev/pkg/edge/api/totp

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "totp",
     5    srcs = ["totp.go"],
     6    importpath = "edge-infra.dev/pkg/edge/api/totp",
     7    visibility = ["//visibility:public"],
     8    deps = [
     9        "//pkg/edge/api/graph/model",
    10        "@com_github_pquerna_otp//:otp",
    11        "@com_github_pquerna_otp//totp",
    12    ],
    13)
    14
    15go_test(
    16    name = "totp_test",
    17    srcs = ["totp_test.go"],
    18    embed = [":totp"],
    19    deps = ["@com_github_stretchr_testify//assert"],
    20)

View as plain text