Documentation ¶
Index ¶
Constants ¶
View Source
const ( Temperature = "temperature" Distance = "distance" DigitalInformation = "digital information" Time = "time" )
View Source
const CACHE_TTL int = 86400
View Source
const DevdocsBaseUrl string = "https://devdocs.io/"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AlfredItem ¶
type AlfredResponse ¶
type AlfredResponse struct {
Items []AlfredItem `json:"items"`
}
func (AlfredResponse) Print ¶
func (resp AlfredResponse) Print()
type DevDocsDocEntry ¶
type DevDocsDocIndex ¶
type DevDocsDocIndex struct { Entries []DevDocsDocEntry `json:"entries"` Types []DevDocsDocType `json:"types"` }
type DevDocsDocType ¶
type DevdocsDocSet ¶
type MatchedUnit ¶
func (MatchedUnit) FromBase ¶
func (u MatchedUnit) FromBase(measurement float64) float64
func (MatchedUnit) Scale ¶
func (u MatchedUnit) Scale() float64
func (MatchedUnit) Symbol ¶
func (u MatchedUnit) Symbol() string
func (MatchedUnit) ToBase ¶
func (u MatchedUnit) ToBase(measurement float64) float64
type StringConversion ¶
type TimeOperation ¶
type WeekdayOperation ¶
type WeekdayOperation string
const ( NextWeekday WeekdayOperation = "next" PrevWeekday WeekdayOperation = "prev" ThisWeekday WeekdayOperation = "this" )
Click to show internal directories.
Click to hide internal directories.