mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 12:27:18 +00:00
23 lines
497 B
Python
23 lines
497 B
Python
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"collector.go",
|
||
|
"heap.go",
|
||
|
"leakybucket.go",
|
||
|
],
|
||
|
importpath = "github.com/prysmaticlabs/prysm/v3/container/leaky-bucket",
|
||
|
visibility = ["//visibility:public"],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = [
|
||
|
"collector_test.go",
|
||
|
"heap_test.go",
|
||
|
"leakybucket_test.go",
|
||
|
],
|
||
|
embed = [":go_default_library"],
|
||
|
)
|