load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "server", srcs = [ "client.go", "server.go", ], importpath = "edge-infra.dev/pkg/f8n/ipranger/server", visibility = ["//visibility:public"], deps = [ "//pkg/f8n/ipranger", "//pkg/lib/logging", "@com_github_gin_gonic_gin//:gin", "@com_github_google_uuid//:uuid", "@com_github_prometheus_client_golang//prometheus/promhttp", ], ) go_test( name = "server_test", srcs = [ "client_test.go", "server_test.go", ], embed = [":server"], visibility = ["//visibility:public"], deps = ["@tools_gotest_v3//assert"], )