bugs

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2016 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bug

type Bug struct {
	Dir Directory
}

func FindBugsByTag

func FindBugsByTag(tags []string) []Bug

func GetAllBugs

func GetAllBugs() []Bug

func LoadBugByHeuristic

func LoadBugByHeuristic(id string) (*Bug, error)

func LoadBugByIdentifier

func LoadBugByIdentifier(id string) (*Bug, error)

func LoadBugByIndex

func LoadBugByIndex(idx int) (*Bug, error)

func LoadBugByStringIndex

func LoadBugByStringIndex(i string) (*Bug, error)

func (Bug) Description

func (b Bug) Description() string

func (Bug) GetDirectory

func (b Bug) GetDirectory() Directory

func (Bug) HasTag

func (b Bug) HasTag(tag Tag) bool

func (Bug) Identifier

func (b Bug) Identifier() string

func (*Bug) LoadBug

func (b *Bug) LoadBug(dir Directory)

func (Bug) Milestone

func (b Bug) Milestone() string

func (Bug) Priority

func (b Bug) Priority() string

func (*Bug) RemoveTag

func (b *Bug) RemoveTag(tag Tag)

func (Bug) SetDescription

func (b Bug) SetDescription(val string) error

func (Bug) SetIdentifier

func (b Bug) SetIdentifier(newValue string) error

func (Bug) SetMilestone

func (b Bug) SetMilestone(newValue string) error

func (Bug) SetPriority

func (b Bug) SetPriority(newValue string) error

func (Bug) SetStatus

func (b Bug) SetStatus(newStatus string) error

func (Bug) Status

func (b Bug) Status() string

func (Bug) StringTags

func (b Bug) StringTags() []string

func (*Bug) TagBug

func (b *Bug) TagBug(tag Tag)

func (Bug) Tags

func (b Bug) Tags() []Tag

func (Bug) Title

func (b Bug) Title(options string) string

func (Bug) ViewBug

func (b Bug) ViewBug()

type BugNotFoundError

type BugNotFoundError string

func (BugNotFoundError) Error

func (b BugNotFoundError) Error() string

type Directory

type Directory string

func GetIssuesDir

func GetIssuesDir() Directory

func GetRootDir

func GetRootDir() Directory

func TitleToDir

func TitleToDir(title string) Directory

func (Directory) GetShortName

func (d Directory) GetShortName() Directory

func (Directory) ToTitle

func (d Directory) ToTitle() string

type Tag

type Tag string

Jump to

Keyboard shortcuts

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