diff --git a/MIGRATE.md b/MIGRATE.md deleted file mode 100644 index 8b2776dd..00000000 --- a/MIGRATE.md +++ /dev/null @@ -1,22 +0,0 @@ -This document contains instructions for migrating to various storage versions. - -### 0.1 -> 0.2 -v0.2 fixes [a bug](https://github.com/gofiber/fiber/issues/1258) in MYSQL, Postgres and Arangodb in which -inserting non-UTF8 characters would trigger a panic due to the values being saved in a TEXT column instead of a -BYTEA/BLOB column. Migration instructions (note you may need to adjust the table names if you have supplied a custom -config to the storage): - -**Postgres** -```sql -ALTER TABLE fiber_storage -ALTER COLUMN v TYPE BYTEA USING v::bytea; -``` - -**MYSQL** -```sql -ALTER TABLE fiber_storage MODIFY COLUMN v BLOB; -``` - -**Arangodb** - -No migration other then updating the library is necessary. diff --git a/README.md b/README.md index 64b9a09c..b9ba9b1c 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ sidebar_position: 1 Premade storage drivers that implement the [`Storage`](https://github.com/gofiber/storage/blob/main/storage.go) interface, designed to be used with various [Fiber middlewares](https://github.com/gofiber/fiber/tree/master/middleware). +**Note:** All storages are tested with the latest two [Go version](https://go.dev/doc/devel/release#policy). Older Go versions may also work, but are not guaranteed to be supported. + ```go // Storage interface for communicating with different database/key-value // providers. Visit https://github.com/gofiber/storage for more info. diff --git a/aerospike/README.md b/aerospike/README.md index da2c97d8..5056ef45 100644 --- a/aerospike/README.md +++ b/aerospike/README.md @@ -9,8 +9,6 @@ title: Aerospike An Aerospike client driver using `aerospike/aerospike-client-go` and [aerospike/aerospike-client-go](https://github.com/aerospike/aerospike-client-go). -**Note: Requires Go 1.23 and above** - ### Table of Contents - [Signatures](#signatures) diff --git a/arangodb/README.md b/arangodb/README.md index 74f5a680..d984e6ca 100644 --- a/arangodb/README.md +++ b/arangodb/README.md @@ -9,8 +9,6 @@ title: ArangoDB A ArangoDB storage driver using `arangodb/go-driver` and [arangodb/go-driver](https://github.com/arangodb/go-driver). -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/azureblob/README.md b/azureblob/README.md index eadbd2c5..b8852e9c 100644 --- a/azureblob/README.md +++ b/azureblob/README.md @@ -9,8 +9,6 @@ title: Azure Blob [Azure Blob storage](https://azure.microsoft.com/en-us/products/storage/blobs/#overview) is Microsoft's object storage solution for the cloud. -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) diff --git a/badger/README.md b/badger/README.md index 6313e2b3..0b1782cb 100644 --- a/badger/README.md +++ b/badger/README.md @@ -9,8 +9,6 @@ title: Badger A fast key-value DB using [dgraph-io/badger](https://github.com/dgraph-io/badger) -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) diff --git a/badger/go.mod b/badger/go.mod index e9b47d7f..d20e7f87 100644 --- a/badger/go.mod +++ b/badger/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/badger/v2 -go 1.19 +go 1.23.0 require ( github.com/dgraph-io/badger/v3 v3.2103.5 diff --git a/bbolt/README.md b/bbolt/README.md index ca1a7e61..bbbee535 100644 --- a/bbolt/README.md +++ b/bbolt/README.md @@ -9,8 +9,6 @@ title: Bbolt A Bbolt storage driver using [etcd-io/bbolt](https://github.com/etcd-io/bbolt). Bolt is a pure Go key/value store inspired by [Howard Chu's](https://twitter.com/hyc_symas) [LMDB project](https://www.symas.com/symas-embedded-database-lmdb). The goal of the project is to provide a simple, fast, and reliable database for projects that don't require a full database server such as Postgres or MySQL. -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/bbolt/go.mod b/bbolt/go.mod index 5f90d5b7..bd9cb4d7 100644 --- a/bbolt/go.mod +++ b/bbolt/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/bbolt/v2 -go 1.19 +go 1.23.0 require ( github.com/gofiber/utils/v2 v2.0.0-beta.3 diff --git a/bbolt/go.sum b/bbolt/go.sum index 2ef0a97f..d37e0dd3 100644 --- a/bbolt/go.sum +++ b/bbolt/go.sum @@ -11,6 +11,7 @@ github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf go.etcd.io/bbolt v1.3.9 h1:8x7aARPEXiXbHmtUwAIv7eV2fQFHrLLavdiJ3uzJXoI= go.etcd.io/bbolt v1.3.9/go.mod h1:zaO32+Ti0PK1ivdPtgMESzuzL2VPoIG1PCQNvOdo/dE= golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= +golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= diff --git a/cloudflarekv/README.md b/cloudflarekv/README.md index ae818de3..4d8c5760 100644 --- a/cloudflarekv/README.md +++ b/cloudflarekv/README.md @@ -9,8 +9,6 @@ title: Cloudflare KV A Cloudflare KV storage driver using [cloudflare/cloudflare-go](https://github.com/cloudflare/cloudflare-go). -**Note: Requires Go 1.21 and above** - ### Table of Contents - [Signatures](#signatures) diff --git a/cloudflarekv/go.mod b/cloudflarekv/go.mod index 9ad5d67e..90d9e5c0 100644 --- a/cloudflarekv/go.mod +++ b/cloudflarekv/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/cloudflarekv -go 1.21 +go 1.23.0 require ( github.com/cloudflare/cloudflare-go v0.115.0 diff --git a/couchbase/README.md b/couchbase/README.md index fd2fa70b..4fc7674c 100644 --- a/couchbase/README.md +++ b/couchbase/README.md @@ -9,8 +9,6 @@ title: Couchbase A Couchbase storage driver using [couchbase/gocb](https://github.com/couchbase/gocb). -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/dynamodb/README.md b/dynamodb/README.md index 11e7121d..14976de0 100644 --- a/dynamodb/README.md +++ b/dynamodb/README.md @@ -11,8 +11,6 @@ A DynamoDB storage driver using [aws/aws-sdk-go-v2](https://github.com/aws/aws-s **Note:** If config fields of credentials not given, credentials are using from the environment variables, ~/.aws/credentials, or EC2 instance role. If config fields of credentials given, credentials are using from config. Look at: [specifying credentials](https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/#specifying-credentials) -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/etcd/README.md b/etcd/README.md index b4e7cf87..50fc0822 100644 --- a/etcd/README.md +++ b/etcd/README.md @@ -9,8 +9,6 @@ title: Etcd A Etcd storage driver using [`etcd-io/etcd`](https://github.com/etcd-io/etcd). -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/etcd/go.mod b/etcd/go.mod index 7c513ac4..897a3427 100644 --- a/etcd/go.mod +++ b/etcd/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/etcd/v2 -go 1.19 +go 1.23.0 require ( github.com/stretchr/testify v1.10.0 diff --git a/etcd/go.sum b/etcd/go.sum index 929072a3..16cf24d7 100644 --- a/etcd/go.sum +++ b/etcd/go.sum @@ -1,4 +1,5 @@ github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= +github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4= github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec= github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= @@ -13,6 +14,7 @@ github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -28,6 +30,7 @@ go.etcd.io/etcd/client/pkg/v3 v3.5.12/go.mod h1:seTzl2d9APP8R5Y2hFL3NVlD6qC/dOT+ go.etcd.io/etcd/client/v3 v3.5.12 h1:v5lCPXn1pf1Uu3M4laUE2hp/geOTc5uPcYYsNe1lDxg= go.etcd.io/etcd/client/v3 v3.5.12/go.mod h1:tSbBCakoWmmddL+BKVAJHa9km+O/E+bumDe9mSbPiqw= go.uber.org/goleak v1.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk= +go.uber.org/goleak v1.2.0/go.mod h1:XJYK+MuIchqpmGmUSAzotztawfKvYLUIgg7guXrwVUo= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/zap v1.25.0 h1:4Hvk6GtkucQ790dqmj7l1eEnRdKm3k3ZUrUMS2d5+5c= diff --git a/go.mod b/go.mod index 2d6880fe..86f9cd61 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/gofiber/storage -go 1.19 +go 1.23.0 diff --git a/leveldb/go.mod b/leveldb/go.mod index 57746216..e713fbe2 100644 --- a/leveldb/go.mod +++ b/leveldb/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/leveldb -go 1.23 +go 1.23.0 require ( github.com/stretchr/testify v1.10.0 diff --git a/memcache/README.md b/memcache/README.md index b50b9287..21d39dee 100644 --- a/memcache/README.md +++ b/memcache/README.md @@ -9,8 +9,6 @@ title: Memcache A Memcache storage driver using [`bradfitz/gomemcache`](https://github.com/bradfitz/gomemcache). -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/memory/README.md b/memory/README.md index 42dfc661..6a2f147f 100644 --- a/memory/README.md +++ b/memory/README.md @@ -10,8 +10,6 @@ title: Memory An in-memory storage driver. -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/memory/go.mod b/memory/go.mod index e3e94dec..2997d08b 100644 --- a/memory/go.mod +++ b/memory/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/memory/v2 -go 1.19 +go 1.23.0 require github.com/stretchr/testify v1.10.0 diff --git a/minio/README.md b/minio/README.md index cb318be9..f708f80e 100644 --- a/minio/README.md +++ b/minio/README.md @@ -11,8 +11,6 @@ title: Minio A Minio storage driver using [minio/minio-go](https://github.com/minio/minio-go). -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/mockstorage/README.md b/mockstorage/README.md index 4709fc5e..d19d463e 100644 --- a/mockstorage/README.md +++ b/mockstorage/README.md @@ -10,8 +10,6 @@ title: MockStorage A mock storage implementation for Fiber. This storage is not persistent and is only used for testing purposes. -**Note: Requires Go 1.21 and above** - ## Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/mockstorage/go.mod b/mockstorage/go.mod index ab44d5c9..030c2e0e 100644 --- a/mockstorage/go.mod +++ b/mockstorage/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/mockstorage -go 1.21 +go 1.23.0 require github.com/stretchr/testify v1.10.0 diff --git a/mongodb/README.md b/mongodb/README.md index a5a9290a..9453a6d5 100644 --- a/mongodb/README.md +++ b/mongodb/README.md @@ -9,8 +9,6 @@ title: MongoDB A MongoDB storage driver using [mongodb/mongo-go-driver](https://github.com/mongodb/mongo-go-driver). -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/mssql/README.md b/mssql/README.md index a0b3abda..940de67e 100644 --- a/mssql/README.md +++ b/mssql/README.md @@ -9,8 +9,6 @@ title: MSSQL A MSSQL storage driver using [microsoft/go-mssqldb](https://github.com/microsoft/go-mssqldb). -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/mssql/go.mod b/mssql/go.mod index 6069b4b8..3af211bf 100644 --- a/mssql/go.mod +++ b/mssql/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/mssql/v2 -go 1.19 +go 1.23.0 require ( github.com/microsoft/go-mssqldb v1.8.1 diff --git a/mssql/go.sum b/mssql/go.sum index ba371c22..67745060 100644 --- a/mssql/go.sum +++ b/mssql/go.sum @@ -1,12 +1,19 @@ github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1 h1:E+OJmp2tPvt1W+amx48v1eqbjDYsgN+RzP4q16yV5eM= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1/go.mod h1:a6xsAQUZg+VsS3TJ05SRp524Hs4pZ/AeFSr5ENf0Yjo= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.6.0 h1:U2rTu3Ef+7w9FHKIAXM6ZyqF3UOWJZ12zIm8zECAFfg= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.6.0/go.mod h1:9kIvujWAA58nmPmWB1m23fyWic1kYZMxD9CxaWn4Qpg= github.com/Azure/azure-sdk-for-go/sdk/internal v1.8.0 h1:jBQA3cKT4L2rWMpgE7Yt3Hwh2aUj8KXjIGLxjHeYNNo= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.8.0/go.mod h1:4OG6tQ9EOP/MT0NMjDlRzWoVFxfu9rN9B2X+tlSVktg= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.0.1 h1:MyVTgWR8qd/Jw1Le0NZebGBUCLbtak3bJ3z1OlqZBpw= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.0.1/go.mod h1:GpPjLhVR9dnUoJMyHWSPy71xY9/lcmpzIPZXmF0FCVY= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.0.0 h1:D3occbWoio4EBLkbkevetNMAVX197GkzbUMtqjGWn80= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.0.0/go.mod h1:bTSOgj05NGRuHHhQwAdPnYr9TOdNmKlZTgGLL6nyAdI= github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 h1:XHOnouVk1mxXfQidrMEnLlPk9UMeRtyBTnEFtxkV0kU= +github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/golang-jwt/jwt/v5 v5.2.2 h1:Rl4B7itRWVtYIHFrSNd7vhTiz9UpLdi6gZhZ3wEeDy8= +github.com/golang-jwt/jwt/v5 v5.2.2/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA= github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= github.com/golang-sql/sqlexp v0.1.0 h1:ZCD6MBpcuOVfGVqsEmY5/4FtYiKz6tSyUv9LPEDei6A= @@ -14,9 +21,11 @@ github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EO github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/microsoft/go-mssqldb v1.8.1 h1:/LPVjSb992vTa8CMVvliTMT//UAKj/jpe1xb/jJBjIk= github.com/microsoft/go-mssqldb v1.8.1/go.mod h1:vp38dT33FGfVotRiTmDo3bFyaHq+p3LektQrjTULowo= github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ= +github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= @@ -24,7 +33,9 @@ github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= +golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= diff --git a/mysql/README.md b/mysql/README.md index 37f7e681..4c9bcdd6 100644 --- a/mysql/README.md +++ b/mysql/README.md @@ -9,8 +9,6 @@ title: MySQL A MySQL storage driver using `database/sql` and [go-sql-driver/mysql](https://github.com/go-sql-driver/mysql). -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/nats/README.md b/nats/README.md index 1ec1e12e..aa5fed81 100644 --- a/nats/README.md +++ b/nats/README.md @@ -10,8 +10,6 @@ title: Nats A NATS Key/Value storage driver. -## Note: Requires Go 1.20 and above - ### Table of Contents - [Signatures](#signatures) diff --git a/pebble/README.md b/pebble/README.md index 91ceabf2..eeb7b9ec 100644 --- a/pebble/README.md +++ b/pebble/README.md @@ -9,8 +9,6 @@ title: Pebble A fast key-value DB using [cockroachdb/pebble](https://github.com/cockroachdb/pebble) -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) diff --git a/pebble/go.mod b/pebble/go.mod index 3a641470..af0b30f5 100644 --- a/pebble/go.mod +++ b/pebble/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/pebble/v2 -go 1.19 +go 1.23.0 require ( github.com/cockroachdb/pebble v1.0.0 diff --git a/pebble/go.sum b/pebble/go.sum index 48a533c1..d930e250 100644 --- a/pebble/go.sum +++ b/pebble/go.sum @@ -5,6 +5,7 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cockroachdb/datadriven v1.0.3-0.20230801171734-e384cf455877 h1:1MLK4YpFtIEo3ZtMA5C795Wtv5VuUnrXX7mQG+aHg6o= +github.com/cockroachdb/datadriven v1.0.3-0.20230801171734-e384cf455877/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU= github.com/cockroachdb/errors v1.10.0 h1:lfxS8zZz1+OjtV4MtNWgboi/W5tyLEB6VQZBXN+0VUU= github.com/cockroachdb/errors v1.10.0/go.mod h1:lknhIsEVQ9Ss/qKDBQS/UqFSvPQjOwNq2qyKAxtHRqE= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE= @@ -19,6 +20,7 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/getsentry/sentry-go v0.23.0 h1:dn+QRCeJv4pPt9OjVXiMcGIBIefaTJPw/h0bZWO05nE= github.com/getsentry/sentry-go v0.23.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA= +github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -29,6 +31,7 @@ github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I= @@ -40,6 +43,7 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= +github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -76,6 +80,7 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= +golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -99,5 +104,6 @@ google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGm google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/postgres/README.md b/postgres/README.md index 86116461..a49479f2 100644 --- a/postgres/README.md +++ b/postgres/README.md @@ -9,8 +9,6 @@ title: Postgres A Postgres storage driver using [jackc/pgx](https://github.com/jackc/pgx). -**Note: Requires Go 1.20 and above** - ### Table of Contents - [Signatures](#signatures) diff --git a/redis/README.md b/redis/README.md index 90bb7400..d5b71fc2 100644 --- a/redis/README.md +++ b/redis/README.md @@ -9,8 +9,6 @@ title: Redis A Redis storage driver using [go-redis/redis](https://github.com/go-redis/redis). -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) diff --git a/ristretto/README.md b/ristretto/README.md index 81fbdca4..48866975 100644 --- a/ristretto/README.md +++ b/ristretto/README.md @@ -9,8 +9,6 @@ title: Ristretto A Memory-bound storage driver using [`dgraph-io/ristretto`](https://github.com/dgraph-io/ristretto). -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) diff --git a/ristretto/go.mod b/ristretto/go.mod index f094d37a..fe07b8c9 100644 --- a/ristretto/go.mod +++ b/ristretto/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/ristretto/v2 -go 1.19 +go 1.23.0 require ( github.com/dgraph-io/ristretto v0.2.0 diff --git a/ristretto/go.sum b/ristretto/go.sum index cdc972ab..fd2060da 100644 --- a/ristretto/go.sum +++ b/ristretto/go.sum @@ -5,6 +5,7 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/dgraph-io/ristretto v0.2.0 h1:XAfl+7cmoUDWW/2Lx8TGZQjjxIQ2Ley9DSf52dru4WE= github.com/dgraph-io/ristretto v0.2.0/go.mod h1:8uBHCU/PBV4Ag0CJrP47b9Ofby5dqWNh4FicAdoqFNU= github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WAFKLNi6ZS0675eEUC9y3AlwSbQu1Y= +github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= diff --git a/rueidis/README.md b/rueidis/README.md index e27e9c19..32aa5890 100644 --- a/rueidis/README.md +++ b/rueidis/README.md @@ -9,8 +9,6 @@ title: Rueidis A fast Redis Storage that does auto pipelining and supports client side caching. [redis/rueidis](https://github.com/redis/rueidis). -**Note: Requires Go 1.20 and above** - ### Table of Contents - [Signatures](#signatures) diff --git a/s3/README.md b/s3/README.md index b467cde0..b62e6fd8 100644 --- a/s3/README.md +++ b/s3/README.md @@ -11,8 +11,6 @@ A S3 storage driver using [aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go- **Note:** If config fields of credentials not given, credentials are using from the environment variables, ~/.aws/credentials, or EC2 instance role. If config fields of credentials given, credentials are using from config. Look at: [specifying credentials](https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/#specifying-credentials) -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) diff --git a/sqlite3/README.md b/sqlite3/README.md index e8ce661d..1f5ffcec 100644 --- a/sqlite3/README.md +++ b/sqlite3/README.md @@ -9,8 +9,6 @@ title: SQLite3 A SQLite3 storage driver using [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3). -**Note: Requires Go 1.19 and above** - ### Table of Contents - [Signatures](#signatures) - [Installation](#installation) diff --git a/sqlite3/go.mod b/sqlite3/go.mod index e86a4c75..86790d89 100644 --- a/sqlite3/go.mod +++ b/sqlite3/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/sqlite3/v2 -go 1.19 +go 1.23.0 require ( github.com/mattn/go-sqlite3 v1.14.28