...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "utils",
5 srcs = ["utils.go"],
6 importpath = "edge-infra.dev/pkg/edge/auth-proxy/utils",
7 visibility = ["//visibility:public"],
8 deps = [
9 "@com_github_99designs_gqlgen//client",
10 "@com_github_mitchellh_mapstructure//:mapstructure",
11 ],
12)
13
14go_test(
15 name = "utils_test",
16 srcs = ["utils_test.go"],
17 embed = [":utils"],
18 deps = ["@com_github_stretchr_testify//assert"],
19)
View as plain text