Versions in this module Expand all Collapse all v0 v0.3.0 Mar 19, 2020 Changes in this version + type CalendarDay struct + Date time.Time + Description string + HolidayCalc bool + Weekday time.Weekday + Workday bool v0.2.0 Mar 16, 2020 v0.1.3 Feb 27, 2020 v0.1.2 Feb 27, 2020 v0.1.1 Feb 27, 2020 v0.1.0 Feb 27, 2020 Changes in this version + type Client struct + Employments []Employment + HttpClient *http.Client + func NewClient(username, password string) *Client + func (c *Client) Authenticate() error + func (c *Client) Calendar() + func (c *Client) NewWorkLog(startTime, endTime time.Time, comment string, project *string) error + func (c *Client) NewWorkLogFactor(hours float64) WorkLogFactor + func (c *Client) NewWorkLogRequest() WorkLogRequest + func (c *Client) NewWorkLogRow(employmentID, personID, groupID int64, startTime, endTime time.Time, ...) WorkLogRow + func (c *Client) NewWorkLogRowLink(colNumber int64, listID string, project *string) WorkLogRowLink + type Employment struct + AllEmploymentIDs *[]int64 + CustomerID int64 + EmploymentID int64 + EndDate *string + EnterpriseName string + GroupID int64 + GroupName string + IsDefaultEmployment bool + IsPassive bool + ListName string + Name string + OrganizationPositionID int64 + ParentGroupID int64 + PersonID int64 + StartDate string + UserName string + ValueSettings string + type WorkLogFactor struct + Amount float64 + Created string + Creator string + FactorID int64 + Id int64 + Modified string + ModifiedBy string + Unit string + WorkLogRowID int64 + type WorkLogRequest struct + EmailChangesText string + EmailComment string + EmailReceiver string + EmailReceiverName string + Employments []Employment + EndDate string + GetAll bool + GetListsLabels bool + IsFixedProcess bool + IsSetStartAndEndDateFromCopyDates bool + IsUpdateRow bool + Lang string + SearchDateType string + StartDate string + StatusList []string + ViewName string + type WorkLogRow struct + BunchId *string + Created string + CreatedFromSource *string + CustomerID int64 + CutLunchFromAmount string + Date string + EmploymentID int64 + EndDate *string + EndTime string + EntryText *string + EntryTextType string + ExternalId *string + GroupID int64 + Id int64 + LastModifierDisplayName string + LastModifierPersonId int64 + LastModifierUserID int64 + LunchBreak int64 + MainAmount string + MainSalaryFactorID int64 + MainUnit string + ModifiedBy string + PersonID int64 + SalaryGroupValue string + SourceId *string + StartDate *string + StartTime string + Status string + VersionID int64 + WorkLogComments []string + WorkLogFactors []WorkLogFactor + WorkLogRowLinks []WorkLogRowLink + type WorkLogRowLink struct + ColControlType string + ColNumber int64 + DimensionLinkType string + DimensionSourceType string + Id int64 + InputID *string + Label *string + ListID string + Value *string + WorkLogRowID int64