webster

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package webster provides a dictionary source via the Webster Dictionaries API

Index

Constants

View Source
const JSONKey = "MerriamWebsterDictionary"

JSONKey defines the JSON key used for the provider

View Source
const Name = "Merriam-Webster's Dictionary API"

Name defines the name of the source

Variables

This section is empty.

Functions

func New

func New(httpClient http.Client, appKey string) source.Source

New returns a new Webster API dictionary source

Types

type RequiredConfigError

type RequiredConfigError struct {
	Key string
}

RequiredConfigError represents an error when a required configuration key is missing or invalid.

func (*RequiredConfigError) Error

func (e *RequiredConfigError) Error() string

Jump to

Keyboard shortcuts

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