data

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 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   int    `json:"id"`
	Name string `json:"name"`
}

type ProjectCache

type ProjectCache struct {
	Timestamp time.Time `json:"timestamp"`
	Data      []Project `json:"data"`
}

type TimeEntry

type TimeEntry struct {
	CreatedWith string   `json:"created_with"`
	Description string   `json:"description"`
	Tags        []string `json:"tags"`
	Billable    bool     `json:"billable"`
	WorkspaceID int      `json:"workspace_id"`
	Duration    int      `json:"duration"`
	Start       string   `json:"start"`
	Stop        *string  `json:"stop"`
	ProjectID   int      `json:"project_id"`
}

type TimeEntryItem

type TimeEntryItem struct {
	Billable      bool      `json:"billable"`
	ClientID      int       `json:"client_id"`
	ClientName    string    `json:"client_name"`
	CreatedAt     string    `json:"created_at"`
	CreatedWith   string    `json:"created_with"`
	DeletedAt     string    `json:"deleted_at"`
	Description   string    `json:"description"`
	Duration      int       `json:"duration"`
	ID            int       `json:"id"`
	ProjectID     int       `json:"project_id"`
	ProjectName   string    `json:"project_name"`
	Start         time.Time `json:"start"`
	Tags          []string  `json:"tags"`
	TaskID        int       `json:"task_id"`
	TaskName      string    `json:"task_name"`
	WorkspaceID   int       `json:"workspace_id"`
	WorkspaceName string    `json:"workspace_name"`
}

type Workspace

type Workspace struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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