entity

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: MIT Imports: 0 Imported by: 8

Documentation

Overview

Package entity contains entities for github aggregator application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assignee added in v0.2.2

type Assignee User

Assignee alias to user entity.

type Organization

type Organization struct {
	Login     string `json:"login"`
	ReposURL  string `json:"repos_url"`
	AvatarURL string `json:"avatar_url"`
}

Organization is an entity which represents github organization.

type Owner added in v0.2.2

type Owner User

Owner alias to user entity.

type PullRequest added in v0.2.2

type PullRequest struct {
	HTMLURL            string     `json:"html_url"`
	State              string     `json:"state"`
	Title              string     `json:"title"`
	User               User       `json:"user"`
	Assignees          []Assignee `json:"assignees"`
	RequestedReviewers []Reviewer `json:"requested_reviewers"`
	Head               head       `json:"head"`
}

PullRequest is an entity which represents github pull request.

type Repository added in v0.2.2

type Repository struct {
	Name     string `json:"name"`
	FullName string `json:"full_name"`
	Owner    Owner  `json:"owner"`
	HTMLURL  string `json:"html_url"`
	PullsURL string `json:"pulls_url"`
}

Repository is an entity which represents github repository.

type Reviewer added in v0.2.2

type Reviewer User

Reviewer alias to user entity.

type User

type User struct {
	Login      string `json:"login"`
	AvatarURL  string `json:"avatar_url"`
	ProfileURL string `json:"html_url"`
}

User is an entity which represents github user.

Jump to

Keyboard shortcuts

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