blob: 222a379ef63649f4bf0450e1357111b474a7f222 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "provider",
srcs = [
"arin.go",
"iana.go",
"provider.go",
"ripe.go",
"rpsl.go",
],
importpath = "code.hackerspace.pl/hscloud/bgpwtf/cccampix/irr/provider",
visibility = ["//visibility:public"],
deps = [
"//bgpwtf/cccampix/irr/whois",
"//bgpwtf/cccampix/proto",
"@com_github_golang_collections_go_datastructures//augmentedtree",
"@com_github_golang_glog//:glog",
"@org_golang_google_grpc//codes",
"@org_golang_google_grpc//status",
],
)
go_test(
name = "provider_test",
srcs = ["rpsl_test.go"],
embed = [":provider"],
deps = [
"//bgpwtf/cccampix/proto",
"@com_github_go_test_deep//:deep",
],
)