...

Text file src/github.com/bazelbuild/bazel-gazelle/language/go/testdata/allcgolib/BUILD.want

Documentation: github.com/bazelbuild/bazel-gazelle/language/go/testdata/allcgolib

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "allcgolib",
     5    srcs = [
     6        "foo.c",
     7        "foo.go",
     8    ],
     9    _gazelle_imports = [
    10        "example.com/repo/lib",
    11        "fmt",
    12    ],
    13    cgo = True,
    14    importpath = "example.com/repo/allcgolib",
    15    visibility = ["//visibility:public"],
    16)
    17
    18go_test(
    19    name = "allcgolib_test",
    20    srcs = ["foo_test.go"],
    21    _gazelle_imports = ["testing"],
    22    embed = [":allcgolib"],
    23)

View as plain text