gotodo

package
v0.0.0-...-c626d5b Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	Filename string
	Line     uint
	Col      uint
	Type     string
	Assignee string
	Text     []string
	Context  []string
}

type Config

type Config struct {
	Patterns          []string `json:"patterns"`
	Assignee          string   `json:"assignee"`
	IncludeUnassigned bool     `json:"includeUnassigned"`
	Include           []string `json:"include"`
	Exclude           []string `json:"exclude"`
	Format            string   `json:"format"`
	Output            string   `json:"output"`
	RelRoot           string   `json:"relRoot"`
	ContextLines      int      `json:"contextLines"`
}

func LoadConfig

func LoadConfig(configFile string) (*Config, error)

func (*Config) FilterByAssignee

func (c *Config) FilterByAssignee(comments []Comment) []Comment

Jump to

Keyboard shortcuts

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