Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var YoudaoKeys = []Youdao{
{
KeyFrom: "CoderVar",
Key: "802458398",
},
{
KeyFrom: "whatMean",
Key: "1933652137",
},
{
KeyFrom: "chinacache",
Key: "1247577973",
},
{
KeyFrom: "huipblog",
Key: "439918742",
},
{
KeyFrom: "chinacache",
Key: "1247577973",
},
{
KeyFrom: "fanyi-node",
Key: "593554388",
},
{
KeyFrom: "wbinglee",
Key: "1127870837",
},
{
KeyFrom: "forum3",
Key: "1268771022",
},
{
KeyFrom: "node-translator",
Key: "2058911035",
},
{
KeyFrom: "kaiyao-robot",
Key: "2016811247",
},
{
KeyFrom: "stone2083",
Key: "1576383390",
},
{
KeyFrom: "myWebsite",
Key: "423366321",
},
{
KeyFrom: "leecade",
Key: "54015339",
},
{
KeyFrom: "github-wdict",
Key: "619541059",
},
{
KeyFrom: "lanyuejin",
Key: "2033774719",
},
}
Functions ¶
This section is empty.
Types ¶
type EngAlfResult ¶
type EngAlfResult struct {
Items []*WFItem `json:"items"`
}
EngAlfResult describe a workflow item.
type IcibaResult ¶
type WFItem ¶
type WFItem struct { Valid bool `json:"valid"` Type string `json:"type"` Title string `json:"title"` Subtitle string `json:"subtitle"` Arg string `json:"arg"` Icon struct { Type string `json:"type"` Path string `json:"path"` } `json:"icon"` }
workflow item for alfred 3 https://www.alfredapp.com/help/workflows/inputs/script-filter/json/ TODO: https://www.alfredapp.com/help/workflows/inputs/script-filter/xml/
type YoudaoResult ¶
type YoudaoResult struct { Basic basic `json:"basic"` ErrorCode int `json:"errorCode"` Query string `json:"query"` Translation []string `json:"translation"` Web []web `json:"web"` // contains filtered or unexported fields }
结果集结构体
Click to show internal directories.
Click to hide internal directories.