oxford

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 12 Imported by: 1

Documentation

Overview

Package oxford provides a dictionary source via the Oxford Dictionaries API

Index

Constants

View Source
const JSONKey = "OxfordDictionary"

JSONKey defines the JSON key used for the provider

View Source
const Name = "Oxford Dictionaries API"

Name defines the name of the source

Variables

This section is empty.

Functions

func New

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

New returns a new Oxford 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