Documentation ¶
Overview ¶
Package nocomment strips a string trailing '#' prefaced comments along with its leading whitespace. For example,
nocomment.New("hello # world") returns "hello" nocomment.New("# hello world") returns "" nocomment.New("hello#world") returns "hello#world" nocomment.New("hello #world") returns "hello"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.