1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3go_library( 4 name = "compressor", 5 srcs = ["gzip.go"], 6 importpath = "edge-infra.dev/pkg/edge/datasync/internal/compressor", 7 visibility = ["//pkg/edge/datasync:__subpackages__"], 8) 9 10go_test( 11 name = "compressor_test", 12 srcs = ["gzip_test.go"], 13 data = glob(["testdata/**"]), 14 deps = [ 15 ":compressor", 16 "@com_github_stretchr_testify//require", 17 ], 18)