fork of https://github.com/sourcegraph/zoekt
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "stream",
5 srcs = [
6 "client.go",
7 "stream.go",
8 ],
9 importpath = "github.com/sourcegraph/zoekt/stream",
10 visibility = ["//visibility:public"],
11 deps = [
12 "//:zoekt",
13 "//query",
14 "//rpc",
15 ],
16)
17
18go_test(
19 name = "stream_test",
20 srcs = ["stream_test.go"],
21 embed = [":stream"],
22 deps = [
23 "//:zoekt",
24 "//internal/mockSearcher",
25 "//query",
26 "@com_github_google_go_cmp//cmp",
27 ],
28)