load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "msgdata", srcs = [ "msgdata.go", "request.go", "response.go", "v1_request.go", "v2_request.go", ], importpath = "edge-infra.dev/pkg/sds/emergencyaccess/msgdata", visibility = ["//visibility:public"], deps = [ "//pkg/sds/emergencyaccess/apierror", "//pkg/sds/emergencyaccess/eaconst", "@com_github_google_shlex//:shlex", ], ) go_test( name = "msgdata_test", srcs = [ "msgdata_test.go", "request_test.go", "response_test.go", "v1_request_test.go", "v2_request_test.go", ], embed = [":msgdata"], deps = [ "//pkg/sds/emergencyaccess/apierror", "//pkg/sds/emergencyaccess/eaconst", "@com_github_stretchr_testify//assert", ], )