url

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: MIT Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const Scheme = "things:///"

Scheme is the base URL scheme used by all other URL's

View Source
const Search = Scheme + "search?query=%s"

Search is the URL for opening a search query

View Source
const ShowAnytimeID = "anytime"

ShowAnytimeID is the id for showing the anytime smart list

View Source
const ShowInboxID = "inbox"

ShowInboxID is the id for showing the inbox list

View Source
const ShowLogbookID = "logbook"

ShowLogbookID is the id for showing the logbook

View Source
const ShowSomedayID = "someday"

ShowSomedayID is the id for showing the someday smart list

View Source
const ShowTodayID = "today"

ShowTodayID is the id for showing the today smart list

View Source
const ShowTrashID = "trash"

ShowTrashID is the id for showing the trash

View Source
const ShowUpcomingID = "upcoming"

ShowUpcomingID is the id for showing the upcoming smart list

Variables

This section is empty.

Functions

This section is empty.

Types

type Add

type Add struct {
	Title          string
	Completed      bool
	Canceled       bool
	ShowQuickEntry bool
	Reveal         bool
	Notes          string
	ChecklistItems []string
	When           string
	Deadline       string
	Tags           []string
	List           string
	ListID         string
	Heading        string
}

Add contains parameters for adding a new to-do

func (Add) URL

func (a Add) URL() string

URL builds the URL

type AddJSON

type AddJSON struct {
	JSON   string
	Reveal bool
}

AddJSON contains parameters for adding a new to-do from json

func (AddJSON) URL

func (a AddJSON) URL() string

URL builds the URL

type AddProject

type AddProject struct {
	Title     string
	Completed bool
	Canceled  bool
	Reveal    bool
	Notes     string
	When      string
	Deadline  string
	Tags      []string
	Area      string
	AreaID    string
	ToDos     []string
}

AddProject contains parameters for adding a new project

func (AddProject) URL

func (a AddProject) URL() string

URL builds the URL

type Show

type Show struct {
	ID      string
	Query   string
	Filters []string
}

Show is the URL used to show lists

func (Show) URL

func (s Show) URL() string

URL implementation

Jump to

Keyboard shortcuts

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