Documentation ¶ Index ¶ Constants func New(reader io.Reader, commentTypes uint64) io.Reader Constants ¶ View Source const ( CommentTypeHash = 1 << iota // "#" CommentTypeSlashSlash // "//" CommentTypeBang // "!" CommentTypeAll = 0xffffffffffffffff ) Variables ¶ This section is empty. Functions ¶ func New ¶ func New(reader io.Reader, commentTypes uint64) io.Reader New will return a wrapped reader, filtering out comment lines. Comment lines may begin with arbitrary whitespace followed by any of the specified commentTypes, until the next newline. Types ¶ This section is empty. Source Files ¶ View all Source files api.go impl.go Click to show internal directories. Click to hide internal directories.