...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "config",
5 srcs = ["config_provider.go"],
6 importpath = "edge-infra.dev/pkg/edge/datasync/shoot/config",
7 visibility = ["//visibility:public"],
8 deps = [
9 "//pkg/edge/datasync/kafkaclient",
10 "@com_github_peterbourgon_ff_v3//:ff",
11 ],
12)
13
14go_test(
15 name = "config_test",
16 srcs = ["configProvider_test.go"],
17 data = glob(["testdata/**"]),
18 deps = [
19 ":config",
20 "@com_github_stretchr_testify//require",
21 ],
22)
View as plain text