Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentCollector ¶
type CommentCollector struct {
// If set, RewriteFn will be called for files that need to be rewritten (used for unit test)
RewriteFn func(filename string, fset *token.FileSet, file *ast.File)
// contains filtered or unexported fields
}
func NewCommentCollector ¶
func NewCommentCollector(processImports bool, replaceComments bool) *CommentCollector
func (*CommentCollector) Process ¶
func (c *CommentCollector) Process(pkgs []*packages.Package)
Click to show internal directories.
Click to hide internal directories.