Documentation ¶
Index ¶
- Constants
- Variables
- func InitialModel(db *sql.DB, jiraClient *jira.Client, jql string, jiraTimeDeltaMins int) model
- func RenderUI(db *sql.DB, jiraClient *jira.Client, jql string, jiraTimeDeltaMins int)
- func RightPadTrim(s string, length int) string
- func Trim(s string, length int) string
- type DBChange
- type FetchActiveMsg
- type HideHelpMsg
- type InsertEntryMsg
- type Issue
- type IssuesFetchedFromJIRAMsg
- type LogEntriesDeletedMsg
- type LogEntriesFetchedMsg
- type LogEntrySyncUpdated
- type ManualEntryInserted
- type StateView
- type TrackingStatus
- type TrackingToggledMsg
- type URLOpenedinBrowserMsg
- type UpdateEntryMsg
- type WLAddedOnJIRA
- type WorklogEntry
Constants ¶
View Source
const ( ActiveIssueColor = "#d3869b" IssueStatusColor = "#665c54" AggTimeSpentColor = "#928374" )
Variables ¶
View Source
var (
HelpText = `` /* 826-byte string literal not displayed */
)
Functions ¶
func InitialModel ¶
func RightPadTrim ¶
Types ¶
type FetchActiveMsg ¶
type FetchActiveMsg struct {
// contains filtered or unexported fields
}
type HideHelpMsg ¶
type HideHelpMsg struct{}
type InsertEntryMsg ¶
type InsertEntryMsg struct {
// contains filtered or unexported fields
}
type Issue ¶
type Issue struct { IssueKey string IssueType string Summary string Assignee string Status string AggSecondsSpent int }
func (Issue) Description ¶
func (Issue) FilterValue ¶
type IssuesFetchedFromJIRAMsg ¶
type IssuesFetchedFromJIRAMsg struct {
// contains filtered or unexported fields
}
type LogEntriesDeletedMsg ¶
type LogEntriesDeletedMsg struct {
// contains filtered or unexported fields
}
type LogEntriesFetchedMsg ¶
type LogEntriesFetchedMsg struct {
// contains filtered or unexported fields
}
type LogEntrySyncUpdated ¶
type LogEntrySyncUpdated struct {
// contains filtered or unexported fields
}
type ManualEntryInserted ¶ added in v0.0.2
type ManualEntryInserted struct {
// contains filtered or unexported fields
}
type TrackingStatus ¶
type TrackingStatus uint
const ( TrackingInactive TrackingStatus = iota TrackingActive )
type TrackingToggledMsg ¶
type TrackingToggledMsg struct {
// contains filtered or unexported fields
}
type URLOpenedinBrowserMsg ¶ added in v0.1.0
type URLOpenedinBrowserMsg struct {
// contains filtered or unexported fields
}
type UpdateEntryMsg ¶
type UpdateEntryMsg struct {
// contains filtered or unexported fields
}
type WLAddedOnJIRA ¶
type WLAddedOnJIRA struct {
// contains filtered or unexported fields
}
type WorklogEntry ¶
type WorklogEntry struct { Id int IssueKey string BeginTS time.Time EndTS time.Time Comment string Active bool Synced bool SyncInProgress bool Error error }
func (WorklogEntry) Description ¶
func (entry WorklogEntry) Description() string
func (WorklogEntry) FilterValue ¶
func (entry WorklogEntry) FilterValue() string
func (WorklogEntry) Title ¶
func (entry WorklogEntry) Title() string
Click to show internal directories.
Click to hide internal directories.