Versions in this module Expand all Collapse all v0 v0.4.2 Oct 3, 2016 v0.4.1 Oct 1, 2016 v0.4.0 Sep 25, 2016 v0.3.0 Sep 24, 2016 Changes in this version type Project + ClientID int v0.2.0 Sep 19, 2016 Changes in this version + type ClientAPI interface + CreateClient func(client Client) (Client, error) + GetClients func() ([]Client, error) + type ProjectAPI interface + CreateProject func(project Project) (Project, error) + GetProjects func(workspaceID int) ([]Project, error) + type TimeEntryAPI interface + CreateTimeEntry func(timeEntry TimeEntry) (TimeEntry, error) + GetTimeEntries func(start, end time.Time) ([]TimeEntry, error) + type WorkspaceAPI interface + GetWorkspaces func() ([]Workspace, error) v0.1.3 Sep 18, 2016 v0.1.2 Sep 18, 2016 v0.1.1 Sep 18, 2016 v0.1.0 Sep 18, 2016 Changes in this version + type Client struct + ID int + Name string + Notes string + WorkspaceID int + type ClientRepository interface + CreateClient func(client Client) (Client, error) + GetClients func() ([]Client, error) + type Project struct + ID int + Name string + WorkspaceID int + type ProjectRepository interface + CreateProject func(project Project) (Project, error) + GetProjects func(workspaceID int) ([]Project, error) + type TimeEntry struct + Billable bool + CreatedWith string + Description string + ID int + Pid int + Start time.Time + Stop time.Time + Tags []string + Wid int + type TimeEntryRepository interface + CreateTimeEntry func(timeEntry TimeEntry) (TimeEntry, error) + GetTimeEntries func(start, end time.Time) ([]TimeEntry, error) + type TogglAPI interface + type Workspace struct + ID int + Name string + type WorkspaceRepository interface + GetWorkspaces func() ([]Workspace, error)