better doc
This commit is contained in:
parent
ffca5f59b1
commit
3ba1bf974e
4
zscan.go
4
zscan.go
|
@ -136,12 +136,12 @@ func ReadRR(q io.Reader, filename string) (RR, error) {
|
|||
// }
|
||||
// }
|
||||
//
|
||||
// Comments specified after an RR are returned too:
|
||||
// Comments specified after an RR (and on the same line!) are returned too:
|
||||
//
|
||||
// foo. IN A 10.0.0.1 ; this is a comment
|
||||
//
|
||||
// The text "; this is comment" is returned in Token.comment . Comments inside the
|
||||
// RR are discarded. Comments on the line by themselves are discarded too.
|
||||
// RR are discarded. Comments on a line by themselves are discarded too.
|
||||
func ParseZone(r io.Reader, origin, file string) chan Token {
|
||||
return parseZoneHelper(r, origin, file, 10000)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue