-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathstructs.go
28 lines (26 loc) · 916 Bytes
/
structs.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package main
type Suggestion struct {
SuggType string `json:"suggType"`
Value string `json:"value"`
RefTag string `json:"refTag"`
StrategyId string `json:"strategyId"`
Ghost bool `json:"ghost"`
Help bool `json:"help"`
Fallback bool `json:"fallback"`
SpellCorrected bool `json:"spellCorrected"`
BlackListed bool `json:"blackListed"`
XcatOnly bool `json:"xcatOnly"`
}
type KeywordSuggestions struct {
Alias string `json:"alias"`
Prefix string `json:"prefix"`
Suffix string `json:"suffix"`
Suggestions []Suggestion `json:"suggestions"`
SuggestionTitleId string `json:"suggestionTitleId"`
ResponseId string `json:"responseId"`
Shuffled bool `json:"shuffled"`
}
type Keyword struct {
Keyword string
TotalResultCount int64
}