refactor(firestore): remove v2 suffix and update to Go 1.25

- Remove /v2 suffix from module path (first module version)
- Update Go version from 1.24.0 to 1.25.0
- Update CI workflow to test only Go 1.25.x
- Update README to reflect new module path without /v2
This commit is contained in:
Yusuf Demir
2025-11-27 19:09:04 +03:00
parent 01c0924064
commit 3972004d7a
3 changed files with 6 additions and 7 deletions

View File

@@ -15,8 +15,7 @@ jobs:
strategy:
matrix:
go-version:
- 1.23.x
- 1.24.x
- 1.25.x
steps:
- name: Fetch Repository
uses: actions/checkout@v4

View File

@@ -47,7 +47,7 @@ go mod init github.com/<user>/<repo>
And then install the firestore implementation:
```bash
go get github.com/gofiber/storage/firestore/v2
go get github.com/gofiber/storage/firestore
```
### Examples
@@ -55,7 +55,7 @@ go get github.com/gofiber/storage/firestore/v2
Import the storage package.
```go
import firestorage "github.com/gofiber/storage/firestore/v2"
import firestorage "github.com/gofiber/storage/firestore"
```
You can use the following possibilities to create a storage:
@@ -96,7 +96,7 @@ If you already have a Firestore client configured in your application, you can c
import (
"cloud.google.com/go/firestore"
"context"
firestorage "github.com/gofiber/storage/firestore/v2"
firestorage "github.com/gofiber/storage/firestore"
)
ctx := context.Background()

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/firestore/v2
module github.com/gofiber/storage/firestore
go 1.24.0
go 1.25.0
require (
cloud.google.com/go/firestore v1.14.0