diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67f1b3c..eed0a5e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/CLAUDE.md b/CLAUDE.md index 892391e..a88c8bf 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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 diff --git a/go.mod b/go.mod index 2a72758..82e8f34 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitea.unbound.se/unboundsoftware/dbsetup +module git.unbound.se/unboundsoftware/dbsetup go 1.26.0