prysm-pulse/shared/iputils/BUILD.bazel
Preethesh Puthran afcfc47273 Added tests for iputils (#1265)
* Added tests for iputils

These tests reference issue #1264 on prysm.
The purpose behind the changes is to validate
results of the return value for the function
ExternalIPv4. Using regular expressions to validate
the ip address. Bazel build configuration has also
been updated.

* Added tests for iputils

These tests reference issue #1264 on prysm.
The purpose behind the changes is to validate
results of the return value for the function
ExternalIPv4. Using regular expressions to validate
the ip address. Bazel build configuration has also
been updated.

* Updated external_ip_test
2019-01-10 20:08:22 -05:00

15 lines
366 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = ["external_ip.go"],
importpath = "github.com/prysmaticlabs/prysm/shared/iputils",
visibility = ["//visibility:public"],
)
go_test(
name = "go_default_test",
srcs = ["external_ip_test.go"],
embed = [":go_default_library"],
)