...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "types",
5 srcs = [
6 "auth_type.go",
7 "errors.go",
8 "payloads.go",
9 "subtypes.go",
10 ],
11 importpath = "edge-infra.dev/pkg/sds/emergencyaccess/types",
12 visibility = ["//visibility:public"],
13 deps = ["//pkg/sds/emergencyaccess/msgdata"],
14)
15
16go_test(
17 name = "types_test",
18 srcs = ["types_test.go"],
19 embed = [":types"],
20 deps = [
21 "//pkg/sds/emergencyaccess/msgdata",
22 "@com_github_stretchr_testify//assert",
23 ],
24)
View as plain text