Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserWorkLog ¶
type UserWorkLog struct {
Ticket string `json:"ticket"`
TicketURL string `json:"ticket_url"`
User string `json:"user"`
Date string `json:"date"`
Timestamp int64 `json:"timestamp"`
Duration float64 `json:"duration"`
WorklogURL string `json:"worklog_url"`
WorklogID string `json:"worklog_id"`
}
UserWorkLog describe work logged on one ticket by one user
type UserWorkLogs ¶
type UserWorkLogs []*UserWorkLog
UserWorkLogs is a slice of UserWorkLog
func SortedTimeTracking ¶
func SortedTimeTracking(delay string, jobInputs chan<- *fetcher.TicketFetcherJob) (UserWorkLogs, error)
SortedTimeTracking return timetracking by user sorted chronologically
func (UserWorkLogs) Len ¶
func (slice UserWorkLogs) Len() int
func (UserWorkLogs) Less ¶
func (slice UserWorkLogs) Less(i, j int) bool
func (UserWorkLogs) Swap ¶
func (slice UserWorkLogs) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.