| load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | |
| go_library( | |
| name = "test", | |
| srcs = ["server.go"], | |
| importpath = "source.monogon.dev/osbase/net/dns/test", | |
| visibility = ["//osbase/net/dns:__subpackages__"], | |
| deps = ["@com_github_miekg_dns//:dns"], | |
| ) | |
| go_test( | |
| name = "test_test", | |
| srcs = ["server_test.go"], | |
| embed = [":test"], | |
| deps = ["@com_github_miekg_dns//:dns"], | |
| ) |