Description

Text returns the text of the comment. Comment markers (//, /*, and */), the first space of a line comment, and leading and trailing empty lines are removed. Multiple empty lines are reduced to one, and trailing space on lines is trimmed. Unless the result is empty, it is newline-terminated.

Text is referenced in 154 repositories

github.com/golang/go github.com/golang-china/godocu github.com/deferpanic/gorump

...