mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 12:27:18 +00:00
afcfc47273
* 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
15 lines
366 B
Python
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"],
|
|
)
|