From 9ac2cd84dcbd0b0a62431a00de2d9b9fc7e11f0b Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Sat, 17 Oct 2026 19:54:52 +0200 Subject: [PATCH] feat: move module path to git.unbound.se 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 Claude-Session: https://claude.ai/code/session_01Kko4x3MYEcWMMdkx12WpBa --- .pre-commit-config.yaml | 2 +- CLAUDE.md | 6 +++--- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 216e4de..b169580 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/CLAUDE.md b/CLAUDE.md index e15b09e..637c9ab 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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() ... diff --git a/go.mod b/go.mod index 67abade..25b0d93 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitea.unbound.se/shiny/logging +module git.unbound.se/shiny/logging go 1.26.0 -- 2.54.0