Fix example names

This commit is contained in:
Miek Gieben 2013-04-02 08:09:36 +01:00
parent ddb9970c1b
commit d4374543ea
1 changed files with 2 additions and 2 deletions

View File

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