feat: move module path to git.unbound.se
logging / test (push) Skipped
logging / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
logging / coverage-baseline (pull_request) Skipped
logging / test (pull_request) Successful in 42s
logging / vulnerabilities (pull_request) Successful in 29s
pre-commit / pre-commit (pull_request) Successful in 2m29s
logging / test (push) Skipped
logging / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
logging / coverage-baseline (pull_request) Skipped
logging / test (pull_request) Successful in 42s
logging / vulnerabilities (pull_request) Successful in 29s
pre-commit / pre-commit (pull_request) Successful in 2m29s
The module is now git.unbound.se/shiny/logging. The API is unchanged. Tags up to v0.2.2 declare gitea.unbound.se/shiny/logging 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:
1 parent
acd75e1cac
commit
9ac2cd84dc
3 files changed
+5
-5
No files matched your search
@@ -23,7 +23,7 @@ repos:
|
||||
- id: go-imports
|
||||
args:
|
||||
- -local
|
||||
- gitea.unbound.se/shiny/logging
|
||||
- git.unbound.se/shiny/logging
|
||||
- repo: https://github.com/lietu/go-pre-commit
|
||||
rev: v1.0.0
|
||||
hooks:
|
||||
|
||||
@@ -20,8 +20,8 @@ drift) into every backend service.
|
||||
|
||||
```go
|
||||
import (
|
||||
"gitea.unbound.se/shiny/logging"
|
||||
logmw "gitea.unbound.se/shiny/logging/middleware"
|
||||
"git.unbound.se/shiny/logging"
|
||||
logmw "git.unbound.se/shiny/logging/middleware"
|
||||
)
|
||||
|
||||
// Configure the slog default logger (format: text | json | otel).
|
||||
@@ -38,7 +38,7 @@ handler = logmw.RequestLogger(logger)(handler)
|
||||
In tests:
|
||||
|
||||
```go
|
||||
import logtest "gitea.unbound.se/shiny/logging/logtest"
|
||||
import logtest "git.unbound.se/shiny/logging/logtest"
|
||||
|
||||
m := logtest.NewMockLogger()
|
||||
// ... exercise code with m.Logger() ...
|
||||
|
||||
Reference in new issue
Block a user