chore: migrate module path to gitea.unbound.se
Update module path from git.unbound.se to gitea.unbound.se for Go module discovery over HTTPS.
This commit is contained in:
@@ -9,7 +9,8 @@
|
|||||||
"Bash(pre-commit run:*)",
|
"Bash(pre-commit run:*)",
|
||||||
"Bash(go build:*)",
|
"Bash(go build:*)",
|
||||||
"Bash(go test:*)",
|
"Bash(go test:*)",
|
||||||
"Bash(but status)"
|
"Bash(but status)",
|
||||||
|
"Bash(but --help:*)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ repos:
|
|||||||
- id: go-imports
|
- id: go-imports
|
||||||
args:
|
args:
|
||||||
- -local
|
- -local
|
||||||
- git.unbound.se/unboundsoftware/shiny/presenter
|
- gitea.unbound.se/unboundsoftware/dbsetup
|
||||||
- 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:
|
||||||
|
|||||||
@@ -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.
|
**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: `git.unbound.se/unboundsoftware/dbsetup`
|
- Module path: `gitea.unbound.se/unboundsoftware/dbsetup`
|
||||||
- Primary dependencies: sqlx, goose (migrations), otelsqlx (OTEL wrapper)
|
- Primary dependencies: sqlx, goose (migrations), otelsqlx (OTEL wrapper)
|
||||||
|
|
||||||
## Common Commands
|
## Common Commands
|
||||||
@@ -44,7 +44,7 @@ Single-package module with one source file (`database.go`):
|
|||||||
Pre-commit hooks enforce:
|
Pre-commit hooks enforce:
|
||||||
- gofumpt formatting (stricter than gofmt)
|
- gofumpt formatting (stricter than gofmt)
|
||||||
- golangci-lint
|
- golangci-lint
|
||||||
- go-imports with local path `git.unbound.se/unboundsoftware/`
|
- go-imports with local path `gitea.unbound.se/unboundsoftware/`
|
||||||
- Conventional commits format (feat:, fix:, chore:, etc.)
|
- Conventional commits format (feat:, fix:, chore:, etc.)
|
||||||
- Gitleaks for secret detection
|
- Gitleaks for secret detection
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user