summaryrefslogtreecommitdiffhomepage
path: root/pkg/segment/BUILD
blob: 964d73af8ab1992b915b452ba17de277169ec5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package(
    default_visibility = ["//:sandbox"],
    licenses = ["notice"],  # Apache 2.0
)

load("//tools/go_generics:defs.bzl", "go_template")

go_template(
    name = "generic_range",
    srcs = ["range.go"],
    types = [
        "T",
    ],
)

go_template(
    name = "generic_set",
    srcs = [
        "set.go",
        "set_state.go",
    ],
    opt_consts = [
        "minDegree",
    ],
    types = [
        "Key",
        "Range",
        "Value",
        "Functions",
    ],
)