load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "dlog", srcs = ["decision_log.go"], importpath = "edge-infra.dev/pkg/tools/dlog", visibility = ["//visibility:public"], deps = ["@io_k8s_sigs_yaml//:yaml"], ) go_test( name = "dlog_test", srcs = ["decision_log_test.go"], data = glob(["testdata/**"]), embed = [":dlog"], deps = [ "//pkg/lib/build/bazel", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", ], )