mirror of
https://github.com/gofiber/storage.git
synced 2025-10-27 10:21:20 +08:00
Update all test files with go1.21, update all go.mod files to go1.19
This commit is contained in:
2
.github/workflows/gosec.yml
vendored
2
.github/workflows/gosec.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '^1.18.x'
|
go-version: '^1.19.x'
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache: false
|
cache: false
|
||||||
- name: Install Gosec
|
- name: Install Gosec
|
||||||
|
|||||||
3
.github/workflows/test-arangodb.yml
vendored
3
.github/workflows/test-arangodb.yml
vendored
@@ -22,10 +22,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.17.x
|
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
2
.github/workflows/test-azureblob.yml
vendored
2
.github/workflows/test-azureblob.yml
vendored
@@ -15,9 +15,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Install Azurite
|
- name: Install Azurite
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.github/workflows/test-badger.yml
vendored
2
.github/workflows/test-badger.yml
vendored
@@ -14,9 +14,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
|
|||||||
2
.github/workflows/test-bbolt.yml
vendored
2
.github/workflows/test-bbolt.yml
vendored
@@ -15,9 +15,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
1
.github/workflows/test-couchbase.yml
vendored
1
.github/workflows/test-couchbase.yml
vendored
@@ -17,6 +17,7 @@ jobs:
|
|||||||
go-version:
|
go-version:
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
3
.github/workflows/test-dynamodb.yml
vendored
3
.github/workflows/test-dynamodb.yml
vendored
@@ -20,10 +20,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.17.x
|
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
1
.github/workflows/test-etcd.yml
vendored
1
.github/workflows/test-etcd.yml
vendored
@@ -17,6 +17,7 @@ jobs:
|
|||||||
go-version:
|
go-version:
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
3
.github/workflows/test-memcache.yml
vendored
3
.github/workflows/test-memcache.yml
vendored
@@ -20,10 +20,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.17.x
|
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
3
.github/workflows/test-memory.yml
vendored
3
.github/workflows/test-memory.yml
vendored
@@ -14,10 +14,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.17.x
|
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
|
|||||||
3
.github/workflows/test-mongodb.yml
vendored
3
.github/workflows/test-mongodb.yml
vendored
@@ -20,10 +20,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.17.x
|
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
2
.github/workflows/test-mssql.yml
vendored
2
.github/workflows/test-mssql.yml
vendored
@@ -32,9 +32,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
3
.github/workflows/test-mysql.yml
vendored
3
.github/workflows/test-mysql.yml
vendored
@@ -28,10 +28,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.17.x
|
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
1
.github/workflows/test-pebble.yml
vendored
1
.github/workflows/test-pebble.yml
vendored
@@ -16,6 +16,7 @@ jobs:
|
|||||||
go-version:
|
go-version:
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
|
|||||||
1
.github/workflows/test-postgres.yml
vendored
1
.github/workflows/test-postgres.yml
vendored
@@ -29,6 +29,7 @@ jobs:
|
|||||||
go-version:
|
go-version:
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
2
.github/workflows/test-redis.yml
vendored
2
.github/workflows/test-redis.yml
vendored
@@ -15,9 +15,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
redis:
|
redis:
|
||||||
- '6.x'
|
- '6.x'
|
||||||
- '7.x'
|
- '7.x'
|
||||||
|
|||||||
2
.github/workflows/test-ristretto.yml
vendored
2
.github/workflows/test-ristretto.yml
vendored
@@ -15,9 +15,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
2
.github/workflows/test-s3.yml
vendored
2
.github/workflows/test-s3.yml
vendored
@@ -15,9 +15,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
steps:
|
steps:
|
||||||
- name: Install MinIO
|
- name: Install MinIO
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
3
.github/workflows/test-sqlite3.yml
vendored
3
.github/workflows/test-sqlite3.yml
vendored
@@ -14,10 +14,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
- 1.17.x
|
|
||||||
- 1.18.x
|
|
||||||
- 1.19.x
|
- 1.19.x
|
||||||
- 1.20.x
|
- 1.20.x
|
||||||
|
- 1.21.x
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Repository
|
- name: Fetch Repository
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/arangodb
|
module github.com/gofiber/storage/arangodb
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/arangodb/go-driver v1.6.0
|
github.com/arangodb/go-driver v1.6.0
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/azureblob
|
module github.com/gofiber/storage/azureblob
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.6.1
|
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.6.1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/badger
|
module github.com/gofiber/storage/badger
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/dgraph-io/badger/v3 v3.2103.5
|
github.com/dgraph-io/badger/v3 v3.2103.5
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/bbolt
|
module github.com/gofiber/storage/bbolt
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/gofiber/utils/v2 v2.0.0-beta.3
|
github.com/gofiber/utils/v2 v2.0.0-beta.3
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/dynamodb
|
module github.com/gofiber/storage/dynamodb
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/aws/aws-sdk-go-v2 v1.20.1
|
github.com/aws/aws-sdk-go-v2 v1.20.1
|
||||||
|
|||||||
2
go.mod
2
go.mod
@@ -1,3 +1,3 @@
|
|||||||
module github.com/gofiber/storage
|
module github.com/gofiber/storage
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/memcache
|
module github.com/gofiber/storage/memcache
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/bradfitz/gomemcache v0.0.0-20221031212613-62deef7fc822
|
github.com/bradfitz/gomemcache v0.0.0-20221031212613-62deef7fc822
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/memory
|
module github.com/gofiber/storage/memory
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/gofiber/utils/v2 v2.0.0-beta.3
|
github.com/gofiber/utils/v2 v2.0.0-beta.3
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/mongodb
|
module github.com/gofiber/storage/mongodb
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/stretchr/testify v1.8.4
|
github.com/stretchr/testify v1.8.4
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/mssql
|
module github.com/gofiber/storage/mssql
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/microsoft/go-mssqldb v1.5.0
|
github.com/microsoft/go-mssqldb v1.5.0
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/mysql
|
module github.com/gofiber/storage/mysql
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/go-sql-driver/mysql v1.7.1
|
github.com/go-sql-driver/mysql v1.7.1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/redis/v2
|
module github.com/gofiber/storage/redis/v2
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/redis/go-redis/v9 v9.1.0
|
github.com/redis/go-redis/v9 v9.1.0
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/ristretto
|
module github.com/gofiber/storage/ristretto
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/dgraph-io/ristretto v0.1.1
|
github.com/dgraph-io/ristretto v0.1.1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/s3
|
module github.com/gofiber/storage/s3
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/aws/aws-sdk-go-v2 v1.20.1
|
github.com/aws/aws-sdk-go-v2 v1.20.1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gofiber/storage/sqlite3
|
module github.com/gofiber/storage/sqlite3
|
||||||
|
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/mattn/go-sqlite3 v1.14.17
|
github.com/mattn/go-sqlite3 v1.14.17
|
||||||
|
|||||||
Reference in New Issue
Block a user