issuefetcher

package
v0.0.0-...-5948a14 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const IssuesURL = "https://api.github.com/search/issues"

IssuesURL to the github API

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue struct {
	Number    int
	HTMLURL   string `json:"html_url"`
	Title     string
	State     string
	User      *User
	CreatedAt time.Time `json:"created_at"`
	Body      string
}

Issue represents an issue from the github API

type IssuesSearchResult

type IssuesSearchResult struct {
	TotalCount int `json:"total_count"`
	Items      []*Issue
}

IssuesSearchResult represents the results from the github issues web interface

func SearchIssues

func SearchIssues(terms []string) (*IssuesSearchResult, error)

SearchIssues queries the github issue tracker

type User

type User struct {
	Login   string
	HTMLURL string `json:"html_url"`
}

User represents the github user account being queried

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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