Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SearchOutput ¶
type SearchOutput struct {
Query string `json:"query"`
Count int `json:"count"`
Results []SearchRecord `json:"results"`
}
SearchOutput represents the JSON output format
type SearchRecord ¶
type SearchRecord struct {
ID int64 `json:"id"`
Type string `json:"type"`
Title string `json:"title"`
Status string `json:"status"`
Project string `json:"project"`
ProjectID int64 `json:"project_id"`
Creator string `json:"creator"`
CreatorEmail string `json:"creator_email,omitempty"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
URL string `json:"url"`
ParentTitle string `json:"parent_title,omitempty"`
ParentType string `json:"parent_type,omitempty"`
}
SearchRecord represents a single search result for JSON output
Click to show internal directories.
Click to hide internal directories.