package search import "fmt" var ( NotFound = fmt.Errorf("could not find entry") NotImplemented = fmt.Errorf("method not implemented") ) type Set interface { Empty() bool Size() int Put(key int, val int) Get(key int) (int, error) Del(key int) (int, error) }