load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = [ "middleware.go", "util.go", ], importpath = "github.com/prysmaticlabs/prysm/v4/api/server", visibility = ["//visibility:public"], ) go_test( name = "go_default_test", srcs = [ "middleware_test.go", "util_test.go", ], embed = [":go_default_library"], deps = [ "//testing/assert:go_default_library", "//testing/require:go_default_library", ], )