report

package
v0.0.0-...-13b7063 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2016 License: Apache-2.0 Imports: 8 Imported by: 1

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL