diff --git a/example_test.go b/example_test.go index 8a768d67..dc2283d7 100644 --- a/example_test.go +++ b/example_test.go @@ -5,7 +5,7 @@ import ( ) // Retrieve the MX records for miek.nl. -func Example_MX() { +func ExampleMX() { config, _ := ClientConfigFromFile("/etc/resolv.conf") c := new(Client) m := new(Msg) @@ -27,7 +27,7 @@ func Example_MX() { // Retrieve the DNSKEY records of a zone and convert them // to DS records for SHA1, SHA256 and SHA384. -func Example_Ds(zone string) { +func ExampleDS(zone string) { config, _ := ClientConfigFromFile("/etc/resolv.conf") c := new(Client) m := new(Msg)