mirror of
https://github.com/gofiber/storage.git
synced 2025-10-06 00:57:38 +08:00
Cleanup the go.mod files
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/arangodb
|
module github.com/gofiber/storage/arangodb/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/azureblob
|
module github.com/gofiber/storage/azureblob/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/badger
|
module github.com/gofiber/storage/badger/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/bbolt
|
module github.com/gofiber/storage/bbolt/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/couchbase
|
module github.com/gofiber/storage/couchbase/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/dynamodb
|
module github.com/gofiber/storage/dynamodb/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/etcd
|
module github.com/gofiber/storage/etcd/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/memcache
|
module github.com/gofiber/storage/memcache/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/memory
|
module github.com/gofiber/storage/memory/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import (
|
|||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/gofiber/storage/memory/internal"
|
"github.com/gofiber/storage/memory/v2/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Storage interface that is implemented by storage providers
|
// Storage interface that is implemented by storage providers
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/mongodb
|
module github.com/gofiber/storage/mongodb/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/mssql
|
module github.com/gofiber/storage/mssql/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/mysql
|
module github.com/gofiber/storage/mysql/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/pebble
|
module github.com/gofiber/storage/pebble/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/postgres/v2
|
module github.com/gofiber/storage/postgres/v3
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/redis/v2
|
module github.com/gofiber/storage/redis/v3
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/ristretto
|
module github.com/gofiber/storage/ristretto/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,14 +1,13 @@
|
|||||||
package ristretto_test
|
package ristretto
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/gofiber/storage/ristretto"
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
var testStore = ristretto.New()
|
var testStore = New()
|
||||||
|
|
||||||
func Test_Ristretto_Set(t *testing.T) {
|
func Test_Ristretto_Set(t *testing.T) {
|
||||||
var (
|
var (
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/s3
|
module github.com/gofiber/storage/s3/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module github.com/gofiber/storage/sqlite3
|
module github.com/gofiber/storage/sqlite3/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user