Andrew Thornton 4dd4891972 Add Set and UniqueQueue implementations (#1)
Improve documentation

Separate out set, uniquequeue and queue

Add Has

Move to use unique queue

Add SIsMember


Add redis-like set commands
2020-01-18 05:41:15 +00:00

15 lines
345 B

// Copyright 2019 Lunny Xiao. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package levelqueue
import "errors"
var (
// ErrNotFound means no elements in queue
ErrNotFound = errors.New("no key found")
ErrAlreadyInQueue = errors.New("value already in queue")