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

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