| load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") |
| |
| go_library( |
| name = "go_default_library", |
| 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:go_default_library", |
| "//bgpwtf/cccampix/proto:go_default_library", |
| "@com_github_golang_collections_go_datastructures//augmentedtree:go_default_library", |
| "@com_github_golang_glog//:go_default_library", |
| "@org_golang_google_grpc//codes:go_default_library", |
| "@org_golang_google_grpc//status:go_default_library", |
| ], |
| ) |
| |
| go_test( |
| name = "go_default_test", |
| srcs = ["rpsl_test.go"], |
| embed = [":go_default_library"], |
| deps = [ |
| "//bgpwtf/cccampix/proto:go_default_library", |
| "@com_github_go_test_deep//:go_default_library", |
| ], |
| ) |