mirror of
https://github.com/gofiber/storage.git
synced 2025-10-16 13:41:26 +08:00
Update all README files with new major versions
This commit is contained in:
@@ -37,13 +37,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the mysql implementation:
|
And then install the mysql implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/arangodb
|
go get github.com/gofiber/storage/arangodb/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/arangodb"
|
import "github.com/gofiber/storage/arangodb/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -44,7 +44,7 @@ go mod init github.com/<user>/<repo>
|
|||||||
And then install the azure blob implementation:
|
And then install the azure blob implementation:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/azureblob
|
go get github.com/gofiber/storage/azureblob/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
@@ -52,7 +52,7 @@ go get github.com/gofiber/storage/azureblob
|
|||||||
Import the storage package.
|
Import the storage package.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/azureblob"
|
import "github.com/gofiber/storage/azureblob/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -44,7 +44,7 @@ go mod init github.com/<user>/<repo>
|
|||||||
And then install the badger implementation:
|
And then install the badger implementation:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/badger
|
go get github.com/gofiber/storage/badger/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
@@ -52,7 +52,7 @@ go get github.com/gofiber/storage/badger
|
|||||||
Import the storage package.
|
Import the storage package.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/badger"
|
import "github.com/gofiber/storage/badger/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -37,13 +37,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the s3 implementation:
|
And then install the s3 implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/bbolt
|
go get github.com/gofiber/storage/bbolt/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/bbolt"
|
import "github.com/gofiber/storage/bbolt/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -37,13 +37,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the Couchbase implementation:
|
And then install the Couchbase implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/couchbase
|
go get github.com/gofiber/storage/couchbase/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/couchbase"
|
import "github.com/gofiber/storage/couchbase/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -43,13 +43,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the dynamodb implementation:
|
And then install the dynamodb implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/dynamodb
|
go get github.com/gofiber/storage/dynamodb/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/dynamodb"
|
import "github.com/gofiber/storage/dynamodb/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -38,13 +38,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the etcd implementation:
|
And then install the etcd implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/etcd
|
go get github.com/gofiber/storage/etcd/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/etcd"
|
import "github.com/gofiber/storage/etcd/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -38,7 +38,7 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the memory implementation:
|
And then install the memory implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/memory
|
go get github.com/gofiber/storage/memory/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
@@ -40,13 +40,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the memory implementation:
|
And then install the memory implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/memory
|
go get github.com/gofiber/storage/memory/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/memory"
|
import "github.com/gofiber/storage/memory/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -37,13 +37,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the mongodb implementation:
|
And then install the mongodb implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/mongodb
|
go get github.com/gofiber/storage/mongodb/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/mongodb"
|
import "github.com/gofiber/storage/mongodb/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -37,13 +37,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the mssql implementation:
|
And then install the mssql implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/mssql
|
go get github.com/gofiber/storage/mssql/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/mssql"
|
import "github.com/gofiber/storage/mssql/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -37,13 +37,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the mysql implementation:
|
And then install the mysql implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/mysql
|
go get github.com/gofiber/storage/mysql/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/mysql"
|
import "github.com/gofiber/storage/mysql/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -44,7 +44,7 @@ Note: This step is only required if you don't have an existing module.
|
|||||||
And then install the Pebble implementation:
|
And then install the Pebble implementation:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/pebble
|
go get github.com/gofiber/storage/pebble/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
@@ -52,7 +52,7 @@ go get github.com/gofiber/storage/pebble
|
|||||||
Import the storage package.
|
Import the storage package.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/pebble"
|
import "github.com/gofiber/storage/pebble/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -37,13 +37,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the postgres implementation:
|
And then install the postgres implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/postgres/v2
|
go get github.com/gofiber/storage/postgres/v3
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/postgres/v2"
|
import "github.com/gofiber/storage/postgres/v3"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -37,13 +37,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the redis implementation:
|
And then install the redis implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/redis/v2
|
go get github.com/gofiber/storage/redis/v3
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/redis/v2"
|
import "github.com/gofiber/storage/redis/v3"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the one of the following options to create a Redis Storage:
|
You can use the one of the following options to create a Redis Storage:
|
||||||
|
@@ -39,13 +39,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the ristretto implementation:
|
And then install the ristretto implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/ristretto
|
go get github.com/gofiber/storage/ristretto/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/ristretto"
|
import "github.com/gofiber/storage/ristretto/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -39,13 +39,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the s3 implementation:
|
And then install the s3 implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/s3
|
go get github.com/gofiber/storage/s3/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/s3"
|
import "github.com/gofiber/storage/s3/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
@@ -37,13 +37,13 @@ go mod init github.com/<user>/<repo>
|
|||||||
```
|
```
|
||||||
And then install the sqlite3 implementation:
|
And then install the sqlite3 implementation:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/gofiber/storage/sqlite3
|
go get github.com/gofiber/storage/sqlite3/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Import the storage package.
|
Import the storage package.
|
||||||
```go
|
```go
|
||||||
import "github.com/gofiber/storage/sqlite3"
|
import "github.com/gofiber/storage/sqlite3/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the following possibilities to create a storage:
|
You can use the following possibilities to create a storage:
|
||||||
|
Reference in New Issue
Block a user