load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "totp", srcs = ["totp.go"], importpath = "edge-infra.dev/pkg/edge/api/totp", visibility = ["//visibility:public"], deps = [ "//pkg/edge/api/graph/model", "@com_github_pquerna_otp//:otp", "@com_github_pquerna_otp//totp", ], ) go_test( name = "totp_test", srcs = ["totp_test.go"], embed = [":totp"], deps = ["@com_github_stretchr_testify//assert"], )