Merge pull request #268 from giskarda/master

Update ParseZone() documentation
This commit is contained in:
Miek Gieben 2015-10-05 13:28:55 +01:00
commit 9a6a6448f5
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: