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