github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/third_party/org_golang_x_tools/cmd/eg/BUILD.bazel.in (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = ["eg.go"],
     6      importpath = "golang.org/x/tools/cmd/eg",
     7      visibility = ["//visibility:private"],
     8      deps = [
     9          "//go/buildutil:go_default_library",
    10          "//go/loader:go_default_library",
    11          "//refactor/eg:go_default_library",
    12      ],
    13  )
    14  
    15  go_binary(
    16      name = "eg",
    17      embed = [":go_default_library"],
    18      visibility = ["//visibility:public"],
    19  )