github.com/prysmaticlabs/prysm@v1.4.4/shared/event/BUILD.bazel (about)

     1  load("@prysm//tools/go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = [
     6          "feed.go",
     7          "subscription.go",
     8      ],
     9      importpath = "github.com/prysmaticlabs/prysm/shared/event",
    10      visibility = ["//visibility:public"],
    11      deps = ["//shared/mclockutil:go_default_library"],
    12  )
    13  
    14  go_test(
    15      name = "go_default_test",
    16      size = "small",
    17      srcs = [
    18          "example_feed_test.go",
    19          "example_scope_test.go",
    20          "example_subscription_test.go",
    21          "feed_test.go",
    22          "subscription_test.go",
    23      ],
    24      embed = [":go_default_library"],
    25      deps = [
    26          "//shared/testutil/assert:go_default_library",
    27          "//shared/testutil/require:go_default_library",
    28      ],
    29  )