Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseRepo ¶
BaseRepo is an implementation of Repo, should probably be only used for testing
type Installation ¶
Installation represents an app installation on a code host
func InstallationFromGitHub ¶
func InstallationFromGitHub(i *github.Installation) Installation
InstallationFromGitHub wraps a github installation in an Installation
type Item ¶
type Item struct { GitHubID int Number int Author string Opened time.Time Closed *time.Time Type ItemType Title string Body string Labels []string Reactions ItemReactions Details map[string]interface{} }
Item is a GitHub item due for indexing TODO: this needs to be better
func (*Item) WithGitHubLabels ¶
WithGitHubLabels attaches given labels as strings to Item
func (*Item) WithGitHubReactions ¶
WithGitHubReactions sets reactions after stripping out unecessary things
type ItemReactions ¶
ItemReactions denotes reactions to an item
Click to show internal directories.
Click to hide internal directories.