Documentation
¶
Overview ¶
Package model defines the core issue, comment, and event types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Transitions map[string][]string `json:"transitions"`
DefaultState string `json:"default_state"`
Types []string `json:"types"`
DefaultType string `json:"default_type"`
IDLength int `json:"id_length"`
}
func DefaultConfig ¶
func DefaultConfig() Config
type Issue ¶
type Issue struct {
ID string `json:"id"`
Title string `json:"title"`
Status string `json:"status"`
Type string `json:"type"`
Priority int `json:"priority"`
Labels []string `json:"labels"`
Assignee string `json:"assignee,omitempty"`
ParentID string `json:"parent_id,omitempty"`
Created time.Time `json:"created"`
Updated time.Time `json:"updated"`
Description string `json:"description,omitempty"`
Comments []Comment `json:"comments,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.