Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comment ¶
Comment represents a comment with text and supported marker options.
func (*Comment) Build ¶
Build builds comments by adding comment prefix ("// ") to each line of the string representation of this Comment.
func (*Comment) CommentWithoutOptions ¶
CommentWithoutOptions returns a new Comment without the Options.
type Option ¶
type Option func(*Comment)
Option is a comment option
func WithReferenceConfig ¶
WithReferenceConfig returns a comment options with the given reference config
Click to show internal directories.
Click to hide internal directories.