Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f49aabcc48 | |||
| a359c82df7 | |||
| 8b3b7b95dc | |||
| ec5383af6d | |||
|
41d0edf378
|
|||
| b399a2cf21 | |||
| 28905c35f5 | |||
| 75b9dc34ac | |||
| c823edae25 |
@@ -19,7 +19,7 @@ jobs:
|
||||
go-version: stable
|
||||
- name: Install Go tools
|
||||
run: go install golang.org/x/tools/cmd/goimports@latest
|
||||
- uses: actions/setup-python@v5
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.14'
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -2,6 +2,13 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.1.1] - 2026-01-09
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(deps)* Update actions/setup-python action to v6
|
||||
- Migrate module path to gitea.unbound.se
|
||||
|
||||
## [0.1.0] - 2026-01-09
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
@@ -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