Versions in this module Expand all Collapse all v1 v1.1.0 Oct 13, 2017 Changes in this version type API + URL string type Assignment + func (a *Assignment) Weekdays() int v1.0.0 Jun 20, 2017 Changes in this version + type API struct + AccountID string + Config *Config + func New(config *Config) (*API, error) + func (api *API) Account() (*Account, error) + func (api *API) Assignments() (Assignments, error) + func (api *API) Clients() (Clients, error) + func (api *API) FutureScheduledHours(from string) (FutureScheduledHours, error) + func (api *API) FutureScheduledHoursForProject(from string, projectid int) (FutureScheduledHours, error) + func (api *API) Milestones() (Milestones, error) + func (api *API) People() (People, error) + func (api *API) Person(id int) (*Person, error) + func (api *API) Projects() (Projects, error) + func (api *API) RemainingBudgetedHours() (RemainingBudgetedHours, error) + func (api *API) RepeatedAssignmentSet(id int) (*RepeatedAssignmentSet, error) + func (api *API) RepeatedAssignmentSets() (RepeatedAssignmentSets, error) + func (api *API) Subscription() (*Subscription, error) + func (api *API) UserConnections() (UserConnections, error) + func (api *API) WhoAmI() (*CurrentUser, error) + type Account struct + ColorLabels []struct{ ... } + HarvestName string + HarvestSubdomain string + ID int + Name string + WeeklyCapacity int + type Assignment struct + Allocation int + EndDate string + ID int + Notes string + PersonID int + PlaceholderID int + ProjectID int + RepeatedAssignmentSetID int + StartDate string + UpdatedAt time.Time + UpdatedByID int + type Assignments []Assignment + func (assignments Assignments) ToCSV(w io.Writer) error + type Client struct + Archived bool + HarvestID int + ID int + Name string + UpdatedAt time.Time + UpdatedByID int + type Clients []Client + type Config struct + AccountID string + Host string + Password string + Scheme string + Username string + type CurrentUser struct + AccountIds []int + ID int + type FutureScheduledHours []FutureScheduledHoursItem + type FutureScheduledHoursItem struct + Allocation float64 + PersonID int + ProjectID int + type Milestone struct + Date string + ID int + Name string + ProjectID int + UpdatedAt time.Time + UpdatedByID int + type Milestones []Milestone + type People []Person + type Person struct + Admin bool + Archived bool + AvatarURL string + ColorBlind bool + Email string + FirstName string + HarvestUserID int + ID int + LastName string + Login string + Subscribed bool + Teams []string + UpdatedAt time.Time + UpdatedByID int + WeeklyCapacity int + WorkingDays struct{ ... } + type Project struct + Archived bool + ClientID int + Code string + Color string + EndDate string + HarvestID int + ID int + Name string + Notes string + StartDate string + Tags []string + UpdatedAt time.Time + UpdatedByID int + type Projects []Project + func (projects Projects) ToCSV(w io.Writer) error + type RemainingBudgetedHours []RemainingBudgetedHoursItem + type RemainingBudgetedHoursItem struct + BudgetBy string + Hours float64 + ProjectID int + ResponseCode int + type RepeatedAssignmentSet struct + AssignmentIds []int + FirstStartDate string + ID int + LastEndDate string + type RepeatedAssignmentSets []RepeatedAssignmentSet + type Subscription struct + Address struct{ ... } + Amount int + AmountPerPerson int + Card struct{ ... } + Discounts struct{ ... } + Interval string + NextBillingDate string + PurchasedPeople int + ReceiptRecipient string + Status string + type UserConnection struct + ID int + LastActiveAt time.Time + PersonID int + type UserConnections []UserConnection