Documentation ¶ Index ¶ func Line(line []byte) (off int, region []byte, ok bool) func Texts(src []byte, min int) []string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Line ¶ func Line(line []byte) (off int, region []byte, ok bool) Line returns the comment portion of a source line and its byte offset. It understands //, #, --, <!--, /* and block-comment continuation (* ...). Code and string contents are disregarded, including "https://" and quoted stamps. func Texts ¶ func Texts(src []byte, min int) []string Texts returns comment bodies of at least min bytes. Types ¶ This section is empty. Source Files ¶ View all Source files comment.go Click to show internal directories. Click to hide internal directories.