feat: move module path to git.unbound.se
The module is now git.unbound.se/unboundsoftware/storage. The API is unchanged. Tags up to v0.4.4 declare gitea.unbound.se/unboundsoftware/storage and stay resolvable through that alias. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kko4x3MYEcWMMdkx12WpBa
This commit is contained in:
1 parent
c5a4afb346
commit
c225556976
4 files changed
+4
-4
No files matched your search
@@ -23,7 +23,7 @@ repos:
|
|||||||
- id: go-imports
|
- id: go-imports
|
||||||
args:
|
args:
|
||||||
- -local
|
- -local
|
||||||
- gitea.unbound.se/unboundsoftware/storage
|
- git.unbound.se/unboundsoftware/storage
|
||||||
- repo: https://github.com/lietu/go-pre-commit
|
- repo: https://github.com/lietu/go-pre-commit
|
||||||
rev: v1.0.0
|
rev: v1.0.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Provides standardized S3 object storage utilities with presigned URL generation.
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "gitea.unbound.se/unboundsoftware/storage"
|
import "git.unbound.se/unboundsoftware/storage"
|
||||||
|
|
||||||
// Option 1: Managed uploads (multipart, 5MB part size) - loads AWS config automatically
|
// Option 1: Managed uploads (multipart, 5MB part size) - loads AWS config automatically
|
||||||
s3Storage, err := storage.New("my-bucket")
|
s3Storage, err := storage.New("my-bucket")
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Shared storage utilities for AWS S3.
|
|||||||
### Using the Upload Manager (recommended for large files)
|
### Using the Upload Manager (recommended for large files)
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "gitea.unbound.se/unboundsoftware/storage"
|
import "git.unbound.se/unboundsoftware/storage"
|
||||||
|
|
||||||
// Create storage with automatic AWS config loading
|
// Create storage with automatic AWS config loading
|
||||||
s3Storage, err := storage.New("my-bucket")
|
s3Storage, err := storage.New("my-bucket")
|
||||||
|
|||||||
Reference in new issue
Block a user