types

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	ID         string
	Name       string
	ClientName string
}

Project represents the project entity from the API

type Tag

type Tag struct {
	ID   string
	Name string
}

Tag represents the tag entity from the API

type TimeEntry

type TimeEntry struct {
	ID           string
	Description  string
	Tags         []Tag
	Billable     bool
	Project      Project
	TimeInterval TimeInterval
}

TimeEntry represents the time entry entity from the API

type TimeInterval

type TimeInterval struct {
	Start    time.Time
	End      time.Time
	Duration string
}

TimeInterval represents the time interval entity from the API

type User

type User struct {
	ID               string
	Email            string
	Name             string
	ProfilePicture   string
	ActiveWorkspace  string
	DefaultWorkspace string
}

User represents the user entity from the API

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL