1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3go_library( 4 name = "clog", 5 srcs = [ 6 "clog.go", 7 "options.go", 8 ], 9 importpath = "edge-infra.dev/pkg/lib/cli/clog", 10 visibility = ["//visibility:public"], 11 deps = [ 12 "@com_github_go_logr_logr//:logr", 13 "@com_github_wojas_genericr//:genericr", 14 ], 15) 16 17go_test( 18 name = "clog_test", 19 srcs = [ 20 "clog_test.go", 21 "example_test.go", 22 ], 23 embed = [":clog"], 24)