2020-01-27 18:04:07 +00:00
|
|
|
load("//tools:defs.bzl", "go_library", "go_test")
|
2019-06-25 22:37:11 +00:00
|
|
|
|
2020-01-27 18:04:07 +00:00
|
|
|
licenses(["notice"])
|
2019-06-25 22:37:11 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "fdchannel",
|
|
|
|
srcs = ["fdchannel_unsafe.go"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "fdchannel_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = ["fdchannel_test.go"],
|
2020-01-27 18:04:07 +00:00
|
|
|
library = ":fdchannel",
|
2020-01-10 06:00:42 +00:00
|
|
|
deps = ["//pkg/sync"],
|
2019-06-25 22:37:11 +00:00
|
|
|
)
|