Versions in this module Expand all Collapse all v0 v0.0.3 Oct 30, 2017 v0.0.2 Oct 30, 2017 Changes in this version + func FullName(s Service) string + func HasCredentials(s Service) (foundCredentials bool) + func LoadCredentials(s Service) (token string, e error) + func SaveCredentials(s Service, token string) (err error) + type HarvestService struct + API *harvest.API + Name string + User *harvest.User + func NewHarvestService() (harvestService *HarvestService) + func (hs *HarvestService) GetName() (name string) + func (hs *HarvestService) GetProjects() (projectAssignments []*ProjectAssignment) + func (hs *HarvestService) GetTasks(projectAssignment *ProjectAssignment) (tasks []*harvest.TaskAssignment) + func (hs *HarvestService) SignIn(account_id string, token string) error + func (hs *HarvestService) StartTimer(projectID string, taskID string, notes string) (timerID int, err error) + func (hs *HarvestService) Stoptimer(timerEntryID int) (err error) + type PivotalTrackerService struct + Client *pivotal.Client + Name string + func NewPivotalTrackerService() (pivotalTrackerService *PivotalTrackerService) + func (pt *PivotalTrackerService) GetName() (name string) + func (pt *PivotalTrackerService) GetProjects() (projects []*pivotal.Project, err error) + func (pt *PivotalTrackerService) GetStory(projectID int, storyID int) (story *pivotal.Story) + func (pt *PivotalTrackerService) SignIn(token string) (err error) + type ProjectAssignment struct + Client *harvest.Client + ID int64 + IsActive bool + IsProjectManager bool + Project *harvest.Project + TaskAsignments []*harvest.TaskAssignment + type ProjectsResponse struct + Projects []*harvest.Project + type Service interface + GetName func() string + type TimeEntry struct + ID int + Notes string + ProjectID int + SpentDate string + TaskID int + TimerStartedAt string + type UserAssignmentsResponse struct + NextPage *int64 + Page int64 + PerPage int64 + PreviousPage *int64 + ProjectAssignments []*ProjectAssignment + TotalEntries int64 + TotalPages int64 + type WhoAmIResponse struct + User *harvest.User