Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrNonExistingKey = DictionaryErr("could find a value mapped to key") ErrKeyExists = DictionaryErr("key already exists") )
Variables ¶
View Source
var ErrInsufficientFunds = errors.New("cannot withdraw, insufficient funds")
Functions ¶
This section is empty.
Types ¶
type Dictionary ¶
func (Dictionary) Add ¶
func (d Dictionary) Add(key, value string) error
func (Dictionary) Delete ¶
func (d Dictionary) Delete(key string)
type DictionaryErr ¶
type DictionaryErr string
func (DictionaryErr) Error ¶
func (de DictionaryErr) Error() string
Click to show internal directories.
Click to hide internal directories.