Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct {
common.NoPKModel
Sha string `json:"sha" gorm:"primaryKey;comment:commit hash"`
Additions int `json:"additions" gorm:"comment:Added lines of code"`
Deletions int `json:"deletions" gorm:"comment:Deleted lines of code"`
DevEq int `json:"deveq" gorm:"comment:Merico developer equivalent from analysis engine"`
Message string
AuthorName string
AuthorEmail string
AuthoredDate time.Time
AuthorId string `gorm:"index;type:varchar(255)"`
CommitterName string
CommitterEmail string
CommittedDate time.Time
CommiterId string `gorm:"index;type:varchar(255)"`
}
type Note ¶
type Note struct {
domainlayer.DomainEntity
PrId uint64 `gorm:"index;comment:References the pull request for this note"`
Type string
Author string
Body string
Resolvable bool `gorm:"comment:Is or is not a review comment"`
System bool `gorm:"comment:Is or is not auto-generated vs. human generated"`
CreatedDate time.Time
}
type Repo ¶
type Repo struct {
domainlayer.DomainEntity
Name string `json:"name"`
Url string `json:"url"`
Description string `json:"Description"`
OwnerId string `json:"ownerId" gorm:"type:varchar(255)"`
Language string `json:"language" gorm:"type:varchar(255)"`
ForkedFrom string `json:"forkedFrom"`
CreatedDate time.Time `json:"createdDate"`
UpdatedDate *time.Time `json:"updatedDate"`
Deleted bool `json:"deleted"`
}
type RepoCommit ¶
type RepoLanguage ¶
Click to show internal directories.
Click to hide internal directories.