| 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", |
| ], |
| ) |