dictionary

package
v0.0.0-...-4d6a1d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wordnik

type Wordnik struct {
	// TextProns []interface{} `json:"textProns"`	// I could leave these in but they appear to return nothing all the time
	// SourceDictionary string `json:"sourceDictionary"`
	// ExampleUses []interface{} `json:"exampleUses"`
	// RelatedWords []interface{} `json:"relatedWords"`
	// Labels []interface{} `json:"labels"`
	// Citations []interface{} `json:"citations"`
	Word string `json:"word"`
	// Sequence string `json:"sequence"`	// this is out because why would you have a count/sequence indicator as a string smdh
	PartOfSpeech string `json:"partOfSpeech"`
	// AttributionText string `json:"attributionText"`	// dont care
	Text string `json:"text"`
}

type Wotd

type Wotd struct {
	ID              int    `json:"id"`
	Word            string `json:"word"`
	PublishDate     string `json:"publishDate"`
	ContentProvider struct {
		Name string `json:"name"`
		ID   int    `json:"id"`
	} `json:"contentProvider"`
	Note     string `json:"note"`
	Examples []struct {
		URL   string `json:"url"`
		Text  string `json:"text"`
		ID    int    `json:"id"`
		Title string `json:"title"`
	} `json:"examples"`
	Definitions []struct {
		Text         string `json:"text"`
		PartOfSpeech string `json:"partOfSpeech"`
		Source       string `json:"source"`
	} `json:"definitions"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL