mirror of
https://github.com/miekg/dns.git
synced 2026-05-05 06:36:12 +02:00
Fix example names
This commit is contained in:
parent
a00f1d82de
commit
ddb9970c1b
@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
// Retrieve the MX records for miek.nl.
|
||||
func ExampleRR_MX() {
|
||||
func Example_MX() {
|
||||
config, _ := ClientConfigFromFile("/etc/resolv.conf")
|
||||
c := new(Client)
|
||||
m := new(Msg)
|
||||
@ -27,7 +27,7 @@ func ExampleRR_MX() {
|
||||
|
||||
// Retrieve the DNSKEY records of a zone and convert them
|
||||
// to DS records for SHA1, SHA256 and SHA384.
|
||||
func ExampleToDs(zone string) {
|
||||
func Example_Ds(zone string) {
|
||||
config, _ := ClientConfigFromFile("/etc/resolv.conf")
|
||||
c := new(Client)
|
||||
m := new(Msg)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user