model

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StateOpen   = "open"
	StateClosed = "closed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue struct {
	RepoOwner string
	RepoName  string
	Number    int
	Username  string
	State     string
	Labels    []string
}

type PullRequest

type PullRequest struct {
	RepoOwner           string
	RepoName            string
	FullName            string
	Number              int
	Username            string
	Ref                 string
	Sha                 string
	Labels              []string
	State               string
	BuildStatus         string
	BuildConclusion     string
	BuildLink           string
	URL                 string
	CreatedAt           time.Time
	Merged              sql.NullBool
	MergeCommitSHA      string `db:"-"`
	MaintainerCanModify sql.NullBool
}

type Spinmint

type Spinmint struct {
	InstanceID string `db:"InstanceId"`
	RepoOwner  string
	RepoName   string
	Number     int
	CreatedAt  int64
}

Jump to

Keyboard shortcuts

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