issue

package
v0.0.0-...-5d37a61 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrIssueUnnamed             = errors.New("issue should be named")
	ErrIssueNameTooLong         = errors.New("issue name should be less or equal to 50 symbols")
	ErrIssueUnknownType         = errors.New("issue should have type")
	ErrIssueUnknownTemplate     = errors.New("issue should have template")
	ErrIssueNoDescription       = errors.New("issue should have description")
	ErrIssueTooLongDescription  = errors.New("description is too long, maximum length is 300 symbols")
	ErrIssueNoAuthor            = errors.New("issue should have author")
	ErrIssueNoProjectID         = errors.New("issue should have linked to a project")
	ErrIssueNotMatchingTemplate = errors.New("template and status do not match")
)

Functions

This section is empty.

Types

type Validator

type Validator interface {
	Check(issue *issPack.Issue) error
}

func NewValidator

func NewValidator() Validator

Jump to

Keyboard shortcuts

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