mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:44:03 +03:00
Remove juju/errors
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package antireplay
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/allegro/bigcache"
|
||||
|
||||
"github.com/9seconds/mtg/config"
|
||||
@@ -25,6 +28,7 @@ func Init() error {
|
||||
HardMaxCacheSize: config.C.AntiReplay.MaxSize,
|
||||
})
|
||||
cache = c
|
||||
err = fmt.Errorf("qqq: %w", errors.New("tt"))
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user