feat: move module path to git.unbound.se
dbsetup / vulnerabilities (pull_request) Successful in 37s
dbsetup / test (pull_request) Successful in 3m47s
pre-commit / pre-commit (pull_request) Successful in 3m49s

The module is now git.unbound.se/unboundsoftware/dbsetup. The API is unchanged. Tags up to v0.1.4 declare gitea.unbound.se/unboundsoftware/dbsetup 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:
argoyleandClaude Opus 5.5 committed 2026-10-17 19:54:58 +02:00
1 parent 46551305ba
commit 7bc9f5c2fa
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ repos:
- id: go-imports
args:
- -local
- gitea.unbound.se/unboundsoftware/dbsetup
- git.unbound.se/unboundsoftware/dbsetup
- repo: https://github.com/lietu/go-pre-commit
rev: v1.0.0
hooks:
+2 -2
View File
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
**dbsetup** is a Go helper module for database connection pool initialization with OpenTelemetry (OTEL) instrumentation. It wraps database connections with OTEL to automatically add SQL queries to tracing spans.
- Module path: `gitea.unbound.se/unboundsoftware/dbsetup`
- Module path: `git.unbound.se/unboundsoftware/dbsetup`
- Primary dependencies: sqlx, goose (migrations), otelsqlx (OTEL wrapper)
## Common Commands
@@ -44,7 +44,7 @@ Single-package module with one source file (`database.go`):
Pre-commit hooks enforce:
- gofumpt formatting (stricter than gofmt)
- golangci-lint
- go-imports with local path `gitea.unbound.se/unboundsoftware/`
- go-imports with local path `git.unbound.se/unboundsoftware/`
- Conventional commits format (feat:, fix:, chore:, etc.)
- Gitleaks for secret detection
+1 -1
View File
@@ -1,4 +1,4 @@
module gitea.unbound.se/unboundsoftware/dbsetup
module git.unbound.se/unboundsoftware/dbsetup
go 1.26.0