mirror of
https://github.com/gofiber/fiber.git
synced 2025-07-10 20:48:28 +00:00
fix: lint error
This commit is contained in:
parent
d8c5b4e06a
commit
14a8cc4220
@ -2,7 +2,6 @@ package session
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"sync"
|
||||
"testing"
|
||||
"time"
|
||||
@ -1553,7 +1552,7 @@ type mockGetErrorStorage struct {
|
||||
|
||||
func (m *mockGetErrorStorage) Get(id string) ([]byte, error) {
|
||||
if id == "session-with-error" {
|
||||
return nil, fmt.Errorf("mock get error")
|
||||
return nil, errors.New("mock get error")
|
||||
}
|
||||
return m.realStorage.Get(id)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user