Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LeavesResponse ¶
type LeavesResponse struct { Data struct { Item []struct { IsAM bool `json:"isAM"` LeavePeriod struct { Owner struct { Name string `json:"name"` } `json:"owner"` EndsOn string `json:"endsOn"` EndsAM bool `json:"endsAM"` } `json:"leavePeriod"` } `json:"items"` } `json:"data"` }
func GetLeaves ¶
func GetLeaves(token string, subDomain string) LeavesResponse
func (*LeavesResponse) ListEmployees ¶
func (lr *LeavesResponse) ListEmployees() []Employee
List employees (en build good objects)
Click to show internal directories.
Click to hide internal directories.