Documentation ¶
Index ¶
- func ParseGitignore(dir string) ([]string, error)
- func WriteFileGroup(w io.Writer, comments []Comment, sortby string, desc bool) error
- func WriteJSON(w io.Writer, comments []Comment, sortby string, desc bool) error
- func WriteMarkdown(w io.Writer, comments []Comment, sortby string, desc bool) error
- func WriteTable(w io.Writer, comments []Comment, sortby string, desc bool) error
- func WriteTemplate(w io.Writer, comments []Comment, sortby string, desc bool, sourceStr string) error
- type Comment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseGitignore ¶
ParseGitignore parses the .gitignore file in the specified directory and returns a slice of patterns to ignore.
func WriteFileGroup ¶
WriteFileGroup writes the comments to the io.Writer as a file list
func WriteMarkdown ¶
WriteMarkdown writes the comments to the io.Writer as a markdown table
func WriteTable ¶
WriteTable writes the comments to the io.Writer as a table
Types ¶
Click to show internal directories.
Click to hide internal directories.