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

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "lib",
     5      srcs = ["lib.go"],
     6      _gazelle_imports = [],
     7      importpath = "example.com/repo/naming_convention/import_alias/lib",
     8      visibility = ["//visibility:public"],
     9  )
    10  
    11  alias(
    12      name = "go_default_library",
    13      actual = ":lib",
    14      visibility = ["//visibility:public"],
    15  )
    16  
    17  go_test(
    18      name = "lib_test",
    19      srcs = ["lib_test.go"],
    20      _gazelle_imports = ["testing"],
    21      embed = [":lib"],
    22  )