...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "profile",
5 srcs = [
6 "address.go",
7 "profile.go",
8 "session.go",
9 "storage.go",
10 ],
11 importpath = "edge-infra.dev/pkg/edge/iam/profile",
12 visibility = ["//visibility:public"],
13 deps = [
14 "//pkg/edge/iam/config",
15 "//pkg/edge/iam/util",
16 ],
17)
18
19go_test(
20 name = "profile_test",
21 srcs = [
22 "address_test.go",
23 "profile_test.go",
24 ],
25 embed = [":profile"],
26 deps = ["@com_github_stretchr_testify//assert"],
27)
View as plain text