licenses(["notice"]) # Apache 2.0 package(default_visibility = ["//visibility:public"]) load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "yamltemplate", srcs = ["yamltemplate.go"], importpath = "github.com/google/safetext/yamltemplate", visibility = ["//visibility:public"], deps = [ "//common", "@com_github_pborman_uuid//:uuid", "@in_gopkg_yaml_v3//:yaml_v3", ], ) alias( name = "go_default_library", actual = ":yamltemplate", visibility = ["//visibility:public"], ) go_test( name = "yamltemplate_test", size = "small", srcs = ["yamltemplate_test.go"], embedsrcs = glob(["*.tmpl"]), deps = [ ":yamltemplate", ], )