code

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit struct {
	base.DomainEntity
	RepoId         uint64 `gorm:"index"`
	Sha            string
	Additions      int
	Deletions      int
	Message        string
	AuthorName     string
	AuthorEmail    string
	AuthoredDate   time.Time
	CommitterName  string
	CommitterEmail string
	CommittedDate  time.Time
}

type Note

type Note struct {
	base.DomainEntity
	PrId        uint64 `gorm:"index"`
	Type        string
	Author      string
	Body        string
	Resolvable  bool // Resolvable means a comment is a code review comment
	System      bool // System means the comment is generated automatically
	CreatedDate time.Time
}

type Pr

type Pr struct {
	base.DomainEntity
	RepoId      uint64 `gorm:"index"`
	State       string
	Title       string
	Url         string
	CreatedDate time.Time
	MergedDate  sql.NullTime
	ClosedAt    sql.NullTime
}

type Repo

type Repo struct {
	base.DomainEntity
	Name string `json:"name"`
	Url  string `json:"url"`
}

Jump to

Keyboard shortcuts

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