Versions in this module Expand all Collapse all v0 v0.1.2 Jan 22, 2018 v0.1.1 Jul 8, 2017 v0.1.0 Jun 4, 2017 Changes in this version + func RequestModules(client http.Client, time_entry TimeEntry) (string, error) + func SubmitTimeEntry(client http.Client, time_entry TimeEntry) error type Module + func ModuleParseXML(xml_str string) ([]Module, error) + type Profile struct + PersonID int type Project + Billable bool + Client int + Module int + Project int + Task int + WorkType int type TimeEntry + PersonID int + func NewTimeEntry(profile Profile, project Project, date time.Time, time float64, ...) TimeEntry v0.0.1 Mar 19, 2017 Changes in this version + func GenerateWeeklyTimesheet(wr io.Writer, defaults TimeEntry) + func Login(username, password string) (resp *http.Response, err error) + func SubmitTimeEntries(fields Fields, time_entries []TimeEntry) (resp *http.Response, err error) + type Client struct + ID int + Name string + Projects []Project + func (c *Client) ProjectByName(project_name string) (*Project, error) + type Fields struct + Clients []Client + PersonID int + func (f *Fields) ClientByName(client_name string) (*Client, error) + type Module struct + ID int + Name string + type Project struct + ID int + Modules []Module + Name string + Tasks []Task + WorkTypes []WorkType + func (p *Project) ModuleByName(module_name string) (*Module, error) + func (p *Project) TaskByName(task_name string) (*Task, error) + func (p *Project) WorkTypeByName(work_type_name string) (*WorkType, error) + type Task struct + ID int + Name string + type TimeEntry struct + Billable bool + Client string + Date time.Time + Description string + Module string + Project string + Task string + Time int + WorkType string + func (te *TimeEntry) UnmarshalYAML(unmarshal func(interface{}) error) error + type WorkType struct + ID int + Name string