internal

package
v0.0.0-...-5ba4334 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTask

func CreateTask(title string, note string, due string) *tasks.Task

func GetInput

func GetInput(label string) string

func GetInputNum

func GetInputNum(label string) (int, error)

func GetInstallLocation

func GetInstallLocation() string

GetInstallLocation() to get the install location fo binary

func GetTasks

func GetTasks(srv *tasks.Service, id string, showCompleted bool) ([]*tasks.Task, error)

func IsPastDue

func IsPastDue(due string) bool

func ReadCredentials

func ReadCredentials() *oauth2.Config

ReadCredentials reads the config.json file

Types

type Config

type Config struct {
	ListId string `yaml:"listid"`
}

func LoadConfig

func LoadConfig() *Config

Jump to

Keyboard shortcuts

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