Documentation ¶
Overview ¶
*
- @license
- Copyright Google Inc. *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- https://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SearchWord ¶
func SearchWord(word string)
SearchWord will list the labels used in gmail account
Types ¶
type LexicalCategory ¶
LexicalCategory is JSON the response
type LexicalEntries ¶
type LexicalEntries struct { Entries []Entries `json:"entries"` Language string `json:"language"` LexicalCategory LexicalCategory `json:"lexicalCategory"` Pronunciations []Pronunciations `json:"pronunciations"` Text string `json:"text"` }
LexicalEntries is JSON the response
type Metadata ¶
type Metadata struct { Operation string `json:"operation"` Provider string `json:"provider"` Schema string `json:"schema"` }
Metadata is JSON the response
type OxfordDictionariesAPIResponse ¶
type OxfordDictionariesAPIResponse struct { ID string `json:"id"` Metadata Metadata `json:"metadata"` Results []Results `json:"results"` Word string `json:"word"` }
OxfordDictionariesAPIResponse is JSON the response
type Pronunciations ¶
type Pronunciations struct { AudioFile string `json:"audioFile"` Dialects []string `json:"dialects"` PhoneticNotation string `json:"phoneticNotation"` PhoneticSpelling string `json:"phoneticSpelling"` }
Pronunciations is JSON the response
type Results ¶
type Results struct { ID string `json:"id"` Language string `json:"language"` LexicalEntries []LexicalEntries `json:"lexicalEntries"` Type string `json:"type"` Word string `json:"word"` }
Results is JSON the response
type Senses ¶
type Senses struct { ID string `json:"id"` Definitions []string `json:"definitions"` Examples []Examples `json:"examples"` ShortDefinitions []string `json:"shortDefinitions"` ThesaurusLinks []ThesaurusLinks `json:"thesaurusLinks"` }
Senses is JSON the response
type ThesaurusLinks ¶
ThesaurusLinks is JSON the response
Click to show internal directories.
Click to hide internal directories.