Update ParseZone() documentation
This commit is contained in:
parent
874ec87128
commit
dd135484c5
6
zscan.go
6
zscan.go
|
@ -144,8 +144,10 @@ func ReadRR(q io.Reader, filename string) (RR, error) {
|
|||
//
|
||||
// for x := range dns.ParseZone(strings.NewReader(z), "", "") {
|
||||
// if x.Error != nil {
|
||||
// // Do something with x.RR
|
||||
// }
|
||||
// // log.Println(x.Error)
|
||||
// } else {
|
||||
// // Do something with x.RR
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// Comments specified after an RR (and on the same line!) are returned too:
|
||||
|
|
Loading…
Reference in New Issue