Update ParseZone() documentation

This commit is contained in:
Riccardo Setti 2015-10-05 11:09:22 +01:00
parent 874ec87128
commit dd135484c5
1 changed files with 4 additions and 2 deletions

View File

@ -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: