Documentation
¶
Index ¶
- type FieldJSON
- type FieldOptionJSON
- type Format
- type IssueJSON
- type ProjectJSON
- type Renderer
- func (r *Renderer) Field(field domain.IssueField) error
- func (r *Renderer) Fields(fields []domain.IssueField) error
- func (r *Renderer) Issue(issue domain.Issue) error
- func (r *Renderer) JSON(v any) error
- func (r *Renderer) Tags(tags []domain.Tag) error
- func (r *Renderer) User(user domain.User) error
- type TagJSON
- type UserJSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldJSON ¶
type FieldJSON struct {
EntityID string `json:"entityId,omitempty"`
Name string `json:"name"`
Type string `json:"type"`
Cardinality string `json:"cardinality,omitempty"`
Value any `json:"value"`
StateMachine bool `json:"stateMachine,omitempty"`
Transitions []FieldOptionJSON `json:"transitions,omitempty"`
}
type FieldOptionJSON ¶
type IssueJSON ¶
type IssueJSON struct {
ID string `json:"id"`
EntityID string `json:"entityId"`
Summary string `json:"summary"`
Description string `json:"description,omitempty"`
Project ProjectJSON `json:"project"`
Reporter *UserJSON `json:"reporter,omitempty"`
Updater *UserJSON `json:"updater,omitempty"`
Created time.Time `json:"created"`
Updated time.Time `json:"updated"`
Resolved *time.Time `json:"resolved,omitempty"`
Fields []FieldJSON `json:"fields,omitempty"`
Tags []TagJSON `json:"tags,omitempty"`
}
type ProjectJSON ¶
Click to show internal directories.
Click to hide internal directories.