load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "serializer", srcs = ["json.go"], importpath = "edge-infra.dev/pkg/edge/datasync/internal/serializer", visibility = ["//pkg/edge/datasync:__subpackages__"], deps = [ "@com_github_gogo_protobuf//jsonpb", "@org_golang_google_protobuf//runtime/protoiface", ], ) go_test( name = "serializer_test", srcs = ["json_test.go"], deps = [ ":serializer", "//pkg/edge/datasync/internal/protos/upload", "@com_github_google_uuid//:uuid", "@com_github_stretchr_testify//require", ], )