From 9570205b8a4addf87d45cbc76d374f8db1b454d1 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez Date: Mon, 21 Aug 2023 08:36:48 -0400 Subject: [PATCH] Cleanup the go.mod files --- arangodb/go.mod | 2 +- azureblob/go.mod | 2 +- badger/go.mod | 2 +- bbolt/go.mod | 2 +- couchbase/go.mod | 2 +- dynamodb/go.mod | 2 +- etcd/go.mod | 2 +- memcache/go.mod | 2 +- memory/go.mod | 2 +- memory/memory.go | 2 +- mongodb/go.mod | 2 +- mssql/go.mod | 2 +- mysql/go.mod | 2 +- pebble/go.mod | 2 +- postgres/go.mod | 2 +- redis/go.mod | 2 +- ristretto/go.mod | 2 +- ristretto/ristretto_test.go | 5 ++--- s3/go.mod | 2 +- sqlite3/go.mod | 2 +- 20 files changed, 21 insertions(+), 22 deletions(-) diff --git a/arangodb/go.mod b/arangodb/go.mod index 9bc8df22..3186b677 100644 --- a/arangodb/go.mod +++ b/arangodb/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/arangodb +module github.com/gofiber/storage/arangodb/v2 go 1.19 diff --git a/azureblob/go.mod b/azureblob/go.mod index ccf67bb9..c91ad63c 100644 --- a/azureblob/go.mod +++ b/azureblob/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/azureblob +module github.com/gofiber/storage/azureblob/v2 go 1.19 diff --git a/badger/go.mod b/badger/go.mod index 06ffb973..e207f328 100644 --- a/badger/go.mod +++ b/badger/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/badger +module github.com/gofiber/storage/badger/v2 go 1.19 diff --git a/bbolt/go.mod b/bbolt/go.mod index c4fc5eeb..290d06a8 100644 --- a/bbolt/go.mod +++ b/bbolt/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/bbolt +module github.com/gofiber/storage/bbolt/v2 go 1.19 diff --git a/couchbase/go.mod b/couchbase/go.mod index fdbc9ed5..f46cdc8e 100644 --- a/couchbase/go.mod +++ b/couchbase/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/couchbase +module github.com/gofiber/storage/couchbase/v2 go 1.19 diff --git a/dynamodb/go.mod b/dynamodb/go.mod index f96653ce..fe96a3c3 100644 --- a/dynamodb/go.mod +++ b/dynamodb/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/dynamodb +module github.com/gofiber/storage/dynamodb/v2 go 1.19 diff --git a/etcd/go.mod b/etcd/go.mod index 7d6dadf0..f0da40d0 100644 --- a/etcd/go.mod +++ b/etcd/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/etcd +module github.com/gofiber/storage/etcd/v2 go 1.19 diff --git a/memcache/go.mod b/memcache/go.mod index 286920a8..fc854bb5 100644 --- a/memcache/go.mod +++ b/memcache/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/memcache +module github.com/gofiber/storage/memcache/v2 go 1.19 diff --git a/memory/go.mod b/memory/go.mod index 7f16672e..3e6ea4f0 100644 --- a/memory/go.mod +++ b/memory/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/memory +module github.com/gofiber/storage/memory/v2 go 1.19 diff --git a/memory/memory.go b/memory/memory.go index 0e918340..d9098a7d 100644 --- a/memory/memory.go +++ b/memory/memory.go @@ -5,7 +5,7 @@ import ( "sync/atomic" "time" - "github.com/gofiber/storage/memory/internal" + "github.com/gofiber/storage/memory/v2/internal" ) // Storage interface that is implemented by storage providers diff --git a/mongodb/go.mod b/mongodb/go.mod index 39db57df..566a994b 100644 --- a/mongodb/go.mod +++ b/mongodb/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/mongodb +module github.com/gofiber/storage/mongodb/v2 go 1.19 diff --git a/mssql/go.mod b/mssql/go.mod index 0f6a8e11..1cbc169a 100644 --- a/mssql/go.mod +++ b/mssql/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/mssql +module github.com/gofiber/storage/mssql/v2 go 1.19 diff --git a/mysql/go.mod b/mysql/go.mod index 48df9d28..48c70c19 100644 --- a/mysql/go.mod +++ b/mysql/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/mysql +module github.com/gofiber/storage/mysql/v2 go 1.19 diff --git a/pebble/go.mod b/pebble/go.mod index 2023f5bd..8264cb43 100644 --- a/pebble/go.mod +++ b/pebble/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/pebble +module github.com/gofiber/storage/pebble/v2 go 1.19 diff --git a/postgres/go.mod b/postgres/go.mod index c9c076db..4f62ca69 100644 --- a/postgres/go.mod +++ b/postgres/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/postgres/v2 +module github.com/gofiber/storage/postgres/v3 go 1.19 diff --git a/redis/go.mod b/redis/go.mod index 55795942..e70978ac 100644 --- a/redis/go.mod +++ b/redis/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/redis/v2 +module github.com/gofiber/storage/redis/v3 go 1.19 diff --git a/ristretto/go.mod b/ristretto/go.mod index 2eab1fd8..058b531b 100644 --- a/ristretto/go.mod +++ b/ristretto/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/ristretto +module github.com/gofiber/storage/ristretto/v2 go 1.19 diff --git a/ristretto/ristretto_test.go b/ristretto/ristretto_test.go index 2d561b55..94df2917 100644 --- a/ristretto/ristretto_test.go +++ b/ristretto/ristretto_test.go @@ -1,14 +1,13 @@ -package ristretto_test +package ristretto import ( "testing" "time" - "github.com/gofiber/storage/ristretto" "github.com/stretchr/testify/require" ) -var testStore = ristretto.New() +var testStore = New() func Test_Ristretto_Set(t *testing.T) { var ( diff --git a/s3/go.mod b/s3/go.mod index 0c4a9f53..73a46d90 100644 --- a/s3/go.mod +++ b/s3/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/s3 +module github.com/gofiber/storage/s3/v2 go 1.19 diff --git a/sqlite3/go.mod b/sqlite3/go.mod index 55986a0a..fca9a069 100644 --- a/sqlite3/go.mod +++ b/sqlite3/go.mod @@ -1,4 +1,4 @@ -module github.com/gofiber/storage/sqlite3 +module github.com/gofiber/storage/sqlite3/v2 go 1.19