store

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Changelog

type Changelog struct {
	Tag       Tag
	ClosedPRs []PullRequest
}

Changelog represents a basic changelog.

type Commit

type Commit struct {
	SHA       string
	Committer User
	Author    User
	Parents   []Commit
}

Commit represents a repository commit.

func (Commit) Empty

func (c Commit) Empty() bool

Empty returns true if SHA of the commit is not specified.

type CommitsComparison

type CommitsComparison struct {
	Commits      []Commit
	TotalCommits int
}

CommitsComparison is the result of comparing two commits.

type PullRequest

type PullRequest struct {
	Number   int
	Title    string
	Body     string
	Author   User
	Labels   []string
	ClosedAt time.Time
}

PullRequest represents a pull/merge request from the remote repository.

type Tag

type Tag struct {
	Name   string
	Commit Commit
}

Tag represents a repository tag.

func (Tag) Empty

func (t Tag) Empty() bool

Empty returns true if the tag is empty.

type User

type User struct {
	Date     time.Time
	Username string
	Email    string
}

User holds user data.

func (User) Empty

func (u User) Empty() bool

Empty returns true if user is empty.

Directories

Path Synopsis
Package engine defines interfaces each supported repository provider should implement.
Package engine defines interfaces each supported repository provider should implement.
Package service wraps engine interfaces with common logic unrelated to any particular engine implementation.
Package service wraps engine interfaces with common logic unrelated to any particular engine implementation.

Jump to

Keyboard shortcuts

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