[#1247] session: Remove unused storage.ErrNotFound error

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2022-03-17 09:33:50 +03:00 committed by Alex Vanin
parent 737d40f2d9
commit a4ee59977e

View file

@ -1,7 +1,6 @@
package storage
import (
"errors"
"sync"
"github.com/mr-tron/base58"
@ -19,8 +18,6 @@ type TokenStore struct {
tokens map[key]*PrivateToken
}
var ErrNotFound = errors.New("private token not found")
// New creates, initializes and returns a new TokenStore instance.
//
// The elements of the instance are stored in the map.