issue

package
v0.0.0-...-f15a371 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2018 License: BSD-3-Clause Imports: 11 Imported by: 2

Documentation

Overview

Package issue provides access to the Google Code Issue Tracker API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByID

type ByID []*Issue

func (ByID) Len

func (x ByID) Len() int

func (ByID) Less

func (x ByID) Less(i, j int) bool

func (ByID) Swap

func (x ByID) Swap(i, j int)

type BySummary

type BySummary []*Issue

func (BySummary) Len

func (x BySummary) Len() int

func (BySummary) Less

func (x BySummary) Less(i, j int) bool

func (BySummary) Swap

func (x BySummary) Swap(i, j int)

type Comment

type Comment struct {
	Author string
	Time   time.Time
	Meta   // changes made by this comment
	Text   string
}

A Comment represents a single comment on an issue.

type Issue

type Issue struct {
	ID int
	Meta
	Comment []*Comment
}

An Issue represents a single issue on the tracker. The initial report is Comment[0] and is always present.

func Search(project, can, query string, detail bool, client *http.Client) ([]*Issue, error)

Search queries for issues on the tracker for the given project (for example, "go"). The can string is typically "open" (search only open issues) or "all" (search all issues). The format of the can string and the query are documented at https://code.google.com/p/support/wiki/IssueTrackerAPI.

type Meta

type Meta struct {
	Summary   string
	Status    string
	Duplicate int // if Status == "Duplicate"
	Owner     string
	CC        []string
	Label     []string
}

A Meta holds issue metadata such as summary and owner.

Directories

Path Synopsis
Package dashboard implements the issue dashboard for an upcoming Go release.
Package dashboard implements the issue dashboard for an upcoming Go release.

Jump to

Keyboard shortcuts

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