Sergiusz Bazanski | 6eaaaf9 | 2019-08-02 01:25:31 +0200 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") |
| 2 | |
| 3 | go_library( |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame^] | 4 | name = "provider", |
Sergiusz Bazanski | 6eaaaf9 | 2019-08-02 01:25:31 +0200 | [diff] [blame] | 5 | srcs = [ |
| 6 | "arin.go", |
| 7 | "iana.go", |
| 8 | "provider.go", |
| 9 | "ripe.go", |
| 10 | "rpsl.go", |
| 11 | ], |
| 12 | importpath = "code.hackerspace.pl/hscloud/bgpwtf/cccampix/irr/provider", |
| 13 | visibility = ["//visibility:public"], |
| 14 | deps = [ |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame^] | 15 | "//bgpwtf/cccampix/irr/whois", |
| 16 | "//bgpwtf/cccampix/proto", |
| 17 | "@com_github_golang_collections_go_datastructures//augmentedtree", |
| 18 | "@com_github_golang_glog//:glog", |
| 19 | "@org_golang_google_grpc//codes", |
| 20 | "@org_golang_google_grpc//status", |
Sergiusz Bazanski | 6eaaaf9 | 2019-08-02 01:25:31 +0200 | [diff] [blame] | 21 | ], |
| 22 | ) |
| 23 | |
| 24 | go_test( |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame^] | 25 | name = "provider_test", |
Sergiusz Bazanski | 6eaaaf9 | 2019-08-02 01:25:31 +0200 | [diff] [blame] | 26 | srcs = ["rpsl_test.go"], |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame^] | 27 | embed = [":provider"], |
Sergiusz Bazanski | 6eaaaf9 | 2019-08-02 01:25:31 +0200 | [diff] [blame] | 28 | deps = [ |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame^] | 29 | "//bgpwtf/cccampix/proto", |
| 30 | "@com_github_go_test_deep//:deep", |
Sergiusz Bazanski | 6eaaaf9 | 2019-08-02 01:25:31 +0200 | [diff] [blame] | 31 | ], |
| 32 | ) |