Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeleteNotExistsError = errors.New("delete not exists word error")
View Source
var DuplicateWordError = errors.New("duplicate word error")
View Source
var NotFoundError = errors.New("word not found")
View Source
var UpdateNotExitsError = errors.New("update not exists word error")
Functions ¶
This section is empty.
Types ¶
type Dictionary ¶
func (Dictionary) Add ¶
func (d Dictionary) Add(word, value string) error
func (Dictionary) Delete ¶
func (d Dictionary) Delete(word string) error
func (Dictionary) Update ¶
func (d Dictionary) Update(word, value string) error
Click to show internal directories.
Click to hide internal directories.