harvest

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEnvVariables

func CheckEnvVariables() error

func Group

func Group(verboseFlag bool) error

func HttpGet

func HttpGet(url string, account_id string, token string) ([]byte, error)

Types

type Content

type Content struct {
	TimeEntries []TimeEntry `json:"time_entries"`
	NextPage    *int        `json:"next_page"`
}

type Project added in v1.2.0

type Project struct {
	Id   int
	Name string
}

type TimeEntry

type TimeEntry struct {
	Id      int
	Hours   float64
	Notes   string
	Project Project
	User    User
}

type User added in v1.3.0

type User struct {
	Id   int
	Name string
}

Jump to

Keyboard shortcuts

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