github.com/iceber/iouring-go@v0.0.0-20230403020409-002cfd2e2a90/examples/echo/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2  
     3  go_library(
     4      name = "echo_lib",
     5      srcs = [
     6          "client.go",
     7          "server.go",
     8      ],
     9      importpath = "github.com/iceber/iouring-go/examples/echo",
    10      visibility = ["//visibility:private"],
    11      deps = ["//:iouring-go"],
    12  )
    13  
    14  go_binary(
    15      name = "echo",
    16      embed = [":echo_lib"],
    17      visibility = ["//visibility:public"],
    18  )