levelqueue/error.go
Andrew Thornton 4dd4891972
Some checks failed
continuous-integration/drone/tag Build is running
continuous-integration/drone/push Build is failing
Add Set and UniqueQueue implementations (#1)
Improve documentation

Separate out set, uniquequeue and queue

Add Has

Move to use unique queue

Add SIsMember

Update README

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

15 lines
345 B
Go

// 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")
)