comments

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Traverser

type Traverser struct {
	// contains filtered or unexported fields
}

Traverser for comments in a given filename

func NewTraverser

func NewTraverser(ignoredPaths []string, callback state.CommentCallback) *Traverser

NewTraverser for comments

func (*Traverser) TraversePath

func (t *Traverser) TraversePath(path string) error

TraversePath and perform a callback on each line in each file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL