1load("//go:def.bzl", "go_library", "go_test") 2 3go_library( 4 name = "txtar", 5 srcs = ["archive.go"], 6 importpath = "github.com/bazelbuild/rules_go/go/tools/internal/txtar", 7 visibility = ["//go/tools:__subpackages__"], 8) 9 10go_test( 11 name = "txtar_test", 12 srcs = ["archive_test.go"], 13 embed = [":txtar"], 14) 15 16alias( 17 name = "go_default_library", 18 actual = ":txtar", 19 visibility = ["//go/tools:__subpackages__"], 20)