Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f49aabcc48 | |||
| a359c82df7 | |||
| 8b3b7b95dc | |||
| ec5383af6d | |||
|
41d0edf378
|
|||
| b399a2cf21 | |||
| 28905c35f5 | |||
| 75b9dc34ac | |||
| c823edae25 |
@@ -19,7 +19,7 @@ jobs:
|
|||||||
go-version: stable
|
go-version: stable
|
||||||
- name: Install Go tools
|
- name: Install Go tools
|
||||||
run: go install golang.org/x/tools/cmd/goimports@latest
|
run: go install golang.org/x/tools/cmd/goimports@latest
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.14'
|
python-version: '3.14'
|
||||||
- uses: pre-commit/action@v3.0.1
|
- uses: pre-commit/action@v3.0.1
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ repos:
|
|||||||
- id: go-imports
|
- id: go-imports
|
||||||
args:
|
args:
|
||||||
- -local
|
- -local
|
||||||
- git.unbound.se/unboundsoftware/storage
|
- gitea.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:
|
||||||
|
|||||||
@@ -2,6 +2,13 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
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
|
## [0.1.0] - 2026-01-09
|
||||||
|
|
||||||
### 🚀 Features
|
### 🚀 Features
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Provides standardized S3 object storage utilities with presigned URL generation.
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```go
|
```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
|
// 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 "git.unbound.se/unboundsoftware/storage"
|
import "gitea.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