types

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package types defines shared types used across gh-pr-todo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupBy added in v0.3.0

type GroupBy string
const (
	GroupByNone GroupBy = ""
	GroupByFile GroupBy = "file"
	GroupByType GroupBy = "type"
)

func (*GroupBy) Set added in v0.3.0

func (g *GroupBy) Set(s string) error

func (*GroupBy) String added in v0.3.0

func (g *GroupBy) String() string

func (*GroupBy) Type added in v0.3.0

func (g *GroupBy) Type() string

type TODO

type TODO struct {
	Filename string
	// The line number in the file
	Line int
	// The whole comment line
	Comment string
	// TODO, FIXME, HACK, NOTE, etc.
	Type string
}

TODO represents a TODO comment found in a diff

Jump to

Keyboard shortcuts

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