2020-07-24 01:00:12 +00:00
|
|
|
load("//tools/go_generics/tests:defs.bzl", "go_generics_test")
|
|
|
|
|
|
|
|
go_generics_test(
|
|
|
|
name = "imports",
|
|
|
|
consts = {
|
|
|
|
"n": "math.Uint32",
|
|
|
|
"m": "math.Uint64",
|
|
|
|
},
|
|
|
|
imports = {
|
|
|
|
"sync": "sync",
|
|
|
|
"math": "mymathpath",
|
|
|
|
},
|
|
|
|
inputs = ["input.go"],
|
|
|
|
output = "output.go",
|
|
|
|
types = {
|
|
|
|
"T": "sync.Mutex",
|
|
|
|
},
|
|
|
|
)
|
2020-07-24 20:59:45 +00:00
|
|
|
|
|
|
|
# @unused
|
|
|
|
glaze_ignore = [
|
|
|
|
"input.go",
|
|
|
|
"output.go",
|
|
|
|
]
|