feat: move module path to git.unbound.se #41

Merged
argoyle merged 1 commits from feat/git-unbound-se-module-path into main 2026-10-17 17:59:40 +00:00
3 changed files with 5 additions and 5 deletions
Showing only changes of commit 9ac2cd84dc - Show all commits

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ repos:
- id: go-imports - id: go-imports
args: args:
- -local - -local
- gitea.unbound.se/shiny/logging - git.unbound.se/shiny/logging
- 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:
+3 -3
View File
@@ -20,8 +20,8 @@ drift) into every backend service.
```go ```go
import ( import (
"gitea.unbound.se/shiny/logging" "git.unbound.se/shiny/logging"
logmw "gitea.unbound.se/shiny/logging/middleware" logmw "git.unbound.se/shiny/logging/middleware"
) )
// Configure the slog default logger (format: text | json | otel). // Configure the slog default logger (format: text | json | otel).
@@ -38,7 +38,7 @@ handler = logmw.RequestLogger(logger)(handler)
In tests: In tests:
```go ```go
import logtest "gitea.unbound.se/shiny/logging/logtest" import logtest "git.unbound.se/shiny/logging/logtest"
m := logtest.NewMockLogger() m := logtest.NewMockLogger()
// ... exercise code with m.Logger() ... // ... exercise code with m.Logger() ...
+1 -1
View File
@@ -1,4 +1,4 @@
module gitea.unbound.se/shiny/logging module git.unbound.se/shiny/logging
go 1.26.0 go 1.26.0