Documentation ¶
Index ¶
- Constants
- Variables
- type Component
- func (c *Component) BuildModel(taskID string, opts *StartOpts) (*Model, error)
- func (c *Component) Edit(num int, opts EditOpts) error
- func (c *Component) Get() (*Timeline, error)
- func (c *Component) GetCurrent() (*Model, error)
- func (c *Component) GetJiraFactory() *jiraf.Factory
- func (c *Component) Init() error
- func (c *Component) Publish() error
- func (c *Component) Start(newModel *Model) (*Model, error)
- func (c *Component) Stop() (*Model, error)
- type DurationDescription
- type EditOpts
- type Model
- type StartOpts
- type Timeline
Constants ¶
View Source
const (
IssueStatuNameInProgress = "In Progress"
)
Variables ¶
View Source
var ErrTimelineEmpty = errors.New("timeline is empty")
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func NewComponent ¶
func (*Component) BuildModel ¶
func (*Component) GetCurrent ¶
func (*Component) GetJiraFactory ¶
type DurationDescription ¶
type Model ¶
type Model struct { Finished bool StartTime time.Time FinishTime time.Time Description string Issue *jira.Issue Tag string }
func (*Model) ActivityDuration ¶
func (*Model) IsFinished ¶
Click to show internal directories.
Click to hide internal directories.