issues

package
v0.0.0-...-309d3b1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue struct {
	CreatedAt githubql.DateTime
	Author    struct {
		Login githubql.String
	}
	Number          githubql.Int
	Body            githubql.String
	Closed          githubql.Boolean
	LastEditedAt    githubql.DateTime
	Locked          githubql.Boolean
	PublishedAt     githubql.DateTime
	State           githubql.IssueState
	Title           githubql.String
	UpdatedAt       githubql.DateTime
	ViewerDidAuthor githubql.Boolean
	ResourcePath    githubql.URI

	Labels struct {
		TotalCount githubql.Int
		Nodes      []Label
	} `graphql:"labels(first: 100, after: null)"`
	Comments struct {
		TotalCount githubql.Int
		PageInfo   PageInfo
		Nodes      []IssueComment
	} `graphql:"comments(first: $csFirst, after: $csAfter)"`
}

type IssueComment

type IssueComment struct {
	Body            githubql.String
	ViewerDidAuthor githubql.Boolean
}

type IssueEdge

type IssueEdge struct {
	Cursor githubql.String
	Node   Issue
}

func (*IssueEdge) Content

func (ie *IssueEdge) Content() string

func (*IssueEdge) CreatedAt

func (ie *IssueEdge) CreatedAt() time.Time

func (*IssueEdge) Tags

func (ie *IssueEdge) Tags() []string

func (*IssueEdge) Title

func (ie *IssueEdge) Title() string

func (*IssueEdge) UpdatedAt

func (ie *IssueEdge) UpdatedAt() time.Time

type IssueInRepo

type IssueInRepo struct {
	Repository struct {
		Name        githubql.String
		Description githubql.String
		CreatedAt   githubql.DateTime
		Issues      struct {
			TotalCount githubql.Int
			Edges      []IssueEdge
			PageInfo   PageInfo
		} `graphql:"issues(first: $first, after: $after, states: $states)"`
	} `graphql:"repository(owner: $owner, name: $name)"`
}

type Label

type Label struct {
	Color       githubql.String
	IsDefault   githubql.Boolean
	Name        githubql.String
	Description githubql.String
}

type PageInfo

type PageInfo struct {
	HasPreviousPage githubql.Boolean
	HasNextPage     githubql.Boolean
	StartCursor     githubql.String
	EndCursor       githubql.String
}

Jump to

Keyboard shortcuts

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