Fix: the *dns.TXT instead of *TXT

This commit is contained in:
Miek Gieben 2013-06-04 11:37:11 +02:00
parent 285a216328
commit 15d8cdc5f9
1 changed files with 1 additions and 1 deletions

2
dns.go
View File

@ -71,7 +71,7 @@
// use pattern for accessing the rdata of a TXT RR as the first RR in
// 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
// }
package dns