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

     1  load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "bin_lib",
     5      srcs = [
     6          "lib.go",
     7          "main.go",
     8      ],
     9      _gazelle_imports = [
    10          "example.com/repo/naming_convention/import_alias/bin",
    11          "fmt",
    12      ],
    13      importpath = "example.com/repo/naming_convention/import_alias/bin",
    14      visibility = ["//visibility:private"],
    15  )
    16  
    17  go_binary(
    18      name = "bin",
    19      _gazelle_imports = [],
    20      embed = [":bin_lib"],
    21      visibility = ["//visibility:public"],
    22  )
    23  
    24  go_test(
    25      name = "bin_test",
    26      srcs = ["bin_test.go"],
    27      _gazelle_imports = ["testing"],
    28      embed = [":bin_lib"],
    29  )