Versions in this module Expand all Collapse all v0 v0.1.0 Mar 22, 2018 Changes in this version + func ValidateHTTPResponse(httpResponse *http.Response, validContentTypes []string, ...) error + func ValidateResult(result Result) error + type AuthenticationError struct + func (e *AuthenticationError) Error() string + type ComprehensiveDictionaryEntry interface + type DictionaryEntry interface + Pronunciation func() string + Senses func() []Sense + type DictionaryEntryValue struct + PronunciationVal string + SenseVals []SenseValue + func (e DictionaryEntryValue) Pronunciation() string + func (e DictionaryEntryValue) Senses() []Sense + type EmptyResultError struct + Word string + func (e *EmptyResultError) Error() string + type Entry interface + type EntryValue struct + type EtymologyEntry interface + Etymologies func() []string + type EtymologyEntryValue struct + EtymologyVals []string + func (e EtymologyEntryValue) Etymologies() []string + type InvalidResponseError struct + func (e *InvalidResponseError) Error() string + type Result interface + Entries func() []DictionaryEntry + Headword func() string + Language func() string + func ValidateAndReturnResult(result Result) (Result, error) + type ResultValue struct + EntryVals []interface{} + Head string + Lang string + func (r ResultValue) Entries() []DictionaryEntry + func (r ResultValue) Headword() string + func (r ResultValue) Language() string + type Sense interface + Definitions func() []string + Examples func() []string + Notes func() []string + Subsenses func() []Sense + type SenseValue struct + DefinitionVals []string + ExampleVals []string + NoteVals []string + SubsenseVals []SenseValue + func (s SenseValue) Definitions() []string + func (s SenseValue) Examples() []string + func (s SenseValue) Notes() []string + func (s SenseValue) Subsenses() []Sense + type Source interface + Define func(word string) (Result, error) + Name func() string + type ThesaurusEntry interface + Antonyms func() []string + Synonyms func() []string + type ThesaurusEntryValue struct + AntonymVals []string + SynonymVals []string + func (e ThesaurusEntryValue) Antonyms() []string + func (e ThesaurusEntryValue) Synonyms() []string + type VersatileDictionaryEntry interface + type WordEntry interface + Category func() string + Word func() string + type WordEntryValue struct + CategoryVal string + WordVal string + func (e WordEntryValue) Category() string + func (e WordEntryValue) Word() string