github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/language/go/testdata/default_visibility/cmd/BUILD.want (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2  
     3  go_library(
     4      name = "cmd_lib",
     5      srcs = ["main.go"],
     6      _gazelle_imports = [],
     7      importpath = "example.com/repo/default_visibility/cmd",
     8  )
     9  
    10  go_binary(
    11      name = "cmd",
    12      _gazelle_imports = [],
    13      embed = [":cmd_lib"],
    14  )