github.com/wolfd/bazel-gazelle@v0.14.0/internal/language/go/testdata/gen_and_exclude/BUILD.want (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library") 2 3 go_library( 4 name = "go_default_library", 5 srcs = [ 6 "gen.go", 7 "gen_linux.go", 8 "gen_static_darwin.go", 9 "static.go", 10 ], 11 _gazelle_imports = select({ 12 "@io_bazel_rules_go//go/platform:darwin": [ 13 "github.com/jr_hacker/darwin", 14 ], 15 "//conditions:default": [], 16 }), 17 importpath = "example.com/repo/gen_and_exclude", 18 visibility = ["//visibility:public"], 19 )