forked from p85947160/gitea
15 lines
345 B
Go
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")
|
|
)
|