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

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library")
     2  load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
     3  load("@rules_proto//proto:defs.bzl", "proto_library")
     4  
     5  proto_library(
     6      name = "protos_gogo_proto",
     7      srcs = ["bar.proto"],
     8      _gazelle_imports = [],
     9      visibility = ["//visibility:public"],
    10  )
    11  
    12  go_proto_library(
    13      name = "protos_gogo_go_proto",
    14      _gazelle_imports = [],
    15      importpath = "example.com/repo/protos_gogo",
    16      proto = ":protos_gogo_proto",
    17      visibility = ["//visibility:public"],
    18  )
    19  
    20  go_library(
    21      name = "protos_gogo",
    22      _gazelle_imports = [],
    23      embed = [":protos_gogo_go_proto"],
    24      importpath = "example.com/repo/protos_gogo",
    25      visibility = ["//visibility:public"],
    26  )