chore: migrate module path to gitea.unbound.se
Update module path from git.unbound.se to gitea.unbound.se for Go module discovery over HTTPS.
This commit is contained in:
@@ -23,7 +23,7 @@ repos:
|
||||
- id: go-imports
|
||||
args:
|
||||
- -local
|
||||
- git.unbound.se/unboundsoftware/storage
|
||||
- gitea.unbound.se/unboundsoftware/storage
|
||||
- repo: https://github.com/lietu/go-pre-commit
|
||||
rev: v1.0.0
|
||||
hooks:
|
||||
|
||||
@@ -11,7 +11,7 @@ Provides standardized S3 object storage utilities with presigned URL generation.
|
||||
## Usage
|
||||
|
||||
```go
|
||||
import "git.unbound.se/unboundsoftware/storage"
|
||||
import "gitea.unbound.se/unboundsoftware/storage"
|
||||
|
||||
// Option 1: Managed uploads (multipart, 5MB part size) - loads AWS config automatically
|
||||
s3Storage, err := storage.New("my-bucket")
|
||||
|
||||
@@ -14,7 +14,7 @@ Shared storage utilities for AWS S3.
|
||||
### Using the Upload Manager (recommended for large files)
|
||||
|
||||
```go
|
||||
import "git.unbound.se/unboundsoftware/storage"
|
||||
import "gitea.unbound.se/unboundsoftware/storage"
|
||||
|
||||
// Create storage with automatic AWS config loading
|
||||
s3Storage, err := storage.New("my-bucket")
|
||||
|
||||
Reference in New Issue
Block a user