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

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
remotes/fyrchik/cli-buffer
Leonard Lyubich 2022-03-17 09:33:50 +03:00 committed by Alex Vanin
parent 737d40f2d9
commit a4ee59977e
1 changed files with 0 additions and 3 deletions

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.