diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ebb52dc..f4e2ba0 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/presenter + - git.unbound.se/shiny/presenter - repo: https://github.com/lietu/go-pre-commit rev: v1.0.0 hooks: diff --git a/CLAUDE.md b/CLAUDE.md index 67fbdda..a1830a7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -18,7 +18,7 @@ Provides a standardized GraphQL error presenter that handles coded errors across ### Usage ```go -import "gitea.unbound.se/shiny/presenter" +import "git.unbound.se/shiny/presenter" // Create error presenter with valid codes and entities errorPresenter := presenter.New(logger, validCodes, validEntities, internalErrorCode) diff --git a/error_test.go b/error_test.go index b74b6fa..e737ba0 100644 --- a/error_test.go +++ b/error_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "gitea.unbound.se/shiny/presenter" + "git.unbound.se/shiny/presenter" ) func TestCodedError_ErrorIs(t *testing.T) { diff --git a/go.mod b/go.mod index 068ec7c..2d7e19d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitea.unbound.se/shiny/presenter +module git.unbound.se/shiny/presenter go 1.26 diff --git a/presenter_test.go b/presenter_test.go index b6716e2..dfb0de8 100644 --- a/presenter_test.go +++ b/presenter_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/vektah/gqlparser/v2/gqlerror" - "gitea.unbound.se/shiny/presenter" + "git.unbound.se/shiny/presenter" ) func Test_globalErrorPresenter(t *testing.T) {