Fix: the *dns.TXT instead of *TXT
This commit is contained in:
parent
285a216328
commit
15d8cdc5f9
2
dns.go
2
dns.go
|
@ -71,7 +71,7 @@
|
||||||
// use pattern for accessing the rdata of a TXT RR as the first RR in
|
// use pattern for accessing the rdata of a TXT RR as the first RR in
|
||||||
// the Answer section:
|
// the Answer section:
|
||||||
//
|
//
|
||||||
// if t, ok := in.Answer[0].(*TXT); ok {
|
// if t, ok := in.Answer[0].(*dns.TXT); ok {
|
||||||
// // do something with t.Txt
|
// // do something with t.Txt
|
||||||
// }
|
// }
|
||||||
package dns
|
package dns
|
||||||
|
|
Loading…
Reference in New Issue