feat: move module path to git.unbound.se (#239)
storage / test (push) Successful in 22s
storage / vulnerabilities (push) Successful in 1m22s
Unbound Release / Check Preconditions (push) Successful in 1s
Unbound Release / Create Tag (push) Skipped
pre-commit / pre-commit (push) Successful in 3m36s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 7s
Unbound Release / Create Release (push) Successful in 5s
Release / release (push) Successful in 6m20s
storage / test (push) Successful in 22s
storage / vulnerabilities (push) Successful in 1m22s
Unbound Release / Check Preconditions (push) Successful in 1s
Unbound Release / Create Tag (push) Skipped
pre-commit / pre-commit (push) Successful in 3m36s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 7s
Unbound Release / Create Release (push) Successful in 5s
Release / release (push) Successful in 6m20s
This commit was merged in pull request #239.
This commit is contained in:
1 parent
c5a4afb346
commit
64664a12f7
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