From 3bdce82ce97299beb542fd90f5cc21caad302e08 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 28 Nov 2019 23:37:33 +0800 Subject: upgrade levelqueue to 0.1.0 (#9192) --- vendor/gitea.com/lunny/levelqueue/error.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 vendor/gitea.com/lunny/levelqueue/error.go (limited to 'vendor/gitea.com/lunny/levelqueue/error.go') diff --git a/vendor/gitea.com/lunny/levelqueue/error.go b/vendor/gitea.com/lunny/levelqueue/error.go new file mode 100644 index 0000000000..d639c5d496 --- /dev/null +++ b/vendor/gitea.com/lunny/levelqueue/error.go @@ -0,0 +1,12 @@ +// 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 element in queue + ErrNotFound = errors.New("no key found") +) -- cgit v1.2.3