mirror of
https://github.com/miekg/dns.git
synced 2025-10-12 02:11:13 +02:00
Docs
This commit is contained in:
parent
7b7eaaa4b0
commit
ef9b83d3bd
4
zscan.go
4
zscan.go
@ -140,8 +140,8 @@ func ReadRR(q io.Reader, filename string) (RR, error) {
|
|||||||
//
|
//
|
||||||
// foo. IN A 10.0.0.1 ; this is a comment
|
// foo. IN A 10.0.0.1 ; this is a comment
|
||||||
//
|
//
|
||||||
// The text "; this is comment" is returned in Token.comment . Comments inside,
|
// The text "; this is comment" is returned in Token.comment . Comments inside the
|
||||||
// before or after the RR are discarded.
|
// RR are discarded. Comments on the line by themselves are discarded too.
|
||||||
func ParseZone(r io.Reader, origin, file string) chan Token {
|
func ParseZone(r io.Reader, origin, file string) chan Token {
|
||||||
return parseZoneHelper(r, origin, file, 10000)
|
return parseZoneHelper(r, origin, file, 10000)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user