github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/third_party/org_golang_x_tools/go/ast/astutil/BUILD.bazel.in (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "go_default_library", 5 srcs = [ 6 "enclosing.go", 7 "imports.go", 8 "util.go", 9 ], 10 importpath = "golang.org/x/tools/go/ast/astutil", 11 visibility = ["//visibility:public"], 12 ) 13 14 go_test( 15 name = "go_default_test", 16 srcs = ["imports_test.go"], 17 embed = [":go_default_library"], 18 ) 19 20 go_test( 21 name = "go_default_xtest", 22 srcs = ["enclosing_test.go"], 23 deps = [":go_default_library"], 24 )