Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BugComment ¶
type BugComment struct {
Id string `json:"id"`
HumanId string `json:"human_id"`
Author Identity `json:"author"`
Message string `json:"message"`
}
func NewBugComment ¶
func NewBugComment(comment bug.Comment) BugComment
type BugExcerpt ¶
type BugExcerpt struct {
Id string `json:"id"`
HumanId string `json:"human_id"`
CreateTime Time `json:"create_time"`
EditTime Time `json:"edit_time"`
Status string `json:"status"`
Labels []common.Label `json:"labels"`
Title string `json:"title"`
Actors []Identity `json:"actors"`
Participants []Identity `json:"participants"`
Author Identity `json:"author"`
Comments int `json:"comments"`
Metadata map[string]string `json:"metadata"`
}
func NewBugExcerpt ¶
func NewBugExcerpt(backend *cache.RepoCache, excerpt *cache.BugExcerpt) (BugExcerpt, error)
type BugSnapshot ¶
type BugSnapshot struct {
Id string `json:"id"`
HumanId string `json:"human_id"`
CreateTime Time `json:"create_time"`
EditTime Time `json:"edit_time"`
Status string `json:"status"`
Labels []common.Label `json:"labels"`
Title string `json:"title"`
Author Identity `json:"author"`
Actors []Identity `json:"actors"`
Participants []Identity `json:"participants"`
Comments []BugComment `json:"comments"`
}
func NewBugSnapshot ¶
func NewBugSnapshot(snap *bug.Snapshot) BugSnapshot
type Identity ¶
type Identity struct {
Id string `json:"id"`
HumanId string `json:"human_id"`
Name string `json:"name"`
Login string `json:"login"`
}
func NewIdentity ¶
func NewIdentityFromExcerpt ¶
func NewIdentityFromExcerpt(excerpt *cache.IdentityExcerpt) Identity
Click to show internal directories.
Click to hide internal directories.