Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var QueryIssue = `` /* 292-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct {
// contains filtered or unexported fields
}
func NewLinearApi ¶
func (*Api) FetchIssueWithId ¶
FetchIssueWithId get issue info with id,id eg."IVAN-10" or "ce064237-bb8c-4098-beda-xxxxx"
type History ¶
type History struct {
Nodes []Node `json:"nodes"`
}
History define issue change history
type Node ¶
type Node struct { ToAssignee User `json:"toAssignee"` ToState WorkFlowState `json:"toState"` }
Node history record
type User ¶
type User struct { Name string `json:"name"` // full name,eg. user@email.com DisplayName string `json:"displayName"` // username without email }
User define linear user
type WorkFlowState ¶
type WorkFlowState struct { Name string `json:"name"` Type string `json:"type"` UpdatedAt string `json:"updatedAt"` }
WorkFlowState define linear workflow state,eg.'canceled','progressing'
Click to show internal directories.
Click to hide internal directories.