Fix example names
This commit is contained in:
parent
a00f1d82de
commit
ddb9970c1b
|
@ -5,7 +5,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Retrieve the MX records for miek.nl.
|
// Retrieve the MX records for miek.nl.
|
||||||
func ExampleRR_MX() {
|
func Example_MX() {
|
||||||
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 ExampleRR_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 ExampleToDs(zone string) {
|
func Example_Ds(zone string) {
|
||||||
config, _ := ClientConfigFromFile("/etc/resolv.conf")
|
config, _ := ClientConfigFromFile("/etc/resolv.conf")
|
||||||
c := new(Client)
|
c := new(Client)
|
||||||
m := new(Msg)
|
m := new(Msg)
|
||||||
|
|
Loading…
Reference in New Issue