Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeEntry ¶
type TimeEntry struct {
Ongoing bool `json:"ongoing"`
Comment struct {
Raw string `json:"raw"`
} `json:"comment"`
SpentOn string `json:"spentOn"`
Hours string `json:"hours"`
Links struct {
WorkPackage struct {
Href string `json:"href"`
Title string `json:"title"`
} `json:"workPackage"`
Activity struct {
Href string `json:"href"`
Title string `json:"title"`
} `json:"activity"`
Project struct {
Href string `json:"href,omitempty"`
Title string `json:"title,omitempty"`
} `json:"project,omitempty"`
User struct {
Href string `json:"href,omitempty"`
Title string `json:"title,omitempty"`
} `json:"user,omitempty"`
} `json:"_links"`
}
func GetAllTimeEntries ¶
func (TimeEntry) GetHumanReadableDuration ¶
type WorkPackage ¶
func GetWorkpackage ¶
func GetWorkpackage(workPackageId string, config *config.Config) (WorkPackage, error)
func NewWorkPackage ¶
func NewWorkPackage(id int, subject string) WorkPackage
Click to show internal directories.
Click to hide internal directories.