...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "msgdata",
5 srcs = [
6 "msgdata.go",
7 "request.go",
8 "response.go",
9 "v1_request.go",
10 "v2_request.go",
11 ],
12 importpath = "edge-infra.dev/pkg/sds/emergencyaccess/msgdata",
13 visibility = ["//visibility:public"],
14 deps = [
15 "//pkg/sds/emergencyaccess/apierror",
16 "//pkg/sds/emergencyaccess/eaconst",
17 "@com_github_google_shlex//:shlex",
18 ],
19)
20
21go_test(
22 name = "msgdata_test",
23 srcs = [
24 "msgdata_test.go",
25 "request_test.go",
26 "response_test.go",
27 "v1_request_test.go",
28 "v2_request_test.go",
29 ],
30 embed = [":msgdata"],
31 deps = [
32 "//pkg/sds/emergencyaccess/apierror",
33 "//pkg/sds/emergencyaccess/eaconst",
34 "@com_github_stretchr_testify//assert",
35 ],
36)
View as plain text