diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b52e263..8964376 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: go-imports args: - -local - - git.unbound.se/shiny/presenter + - gitea.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 a1830a7..67fbdda 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 "git.unbound.se/shiny/presenter" +import "gitea.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 e737ba0..b74b6fa 100644 --- a/error_test.go +++ b/error_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "git.unbound.se/shiny/presenter" + "gitea.unbound.se/shiny/presenter" ) func TestCodedError_ErrorIs(t *testing.T) { diff --git a/go.mod b/go.mod index 963e9ff..d65d39b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.unbound.se/shiny/presenter +module gitea.unbound.se/shiny/presenter go 1.24.1 diff --git a/presenter_test.go b/presenter_test.go index dfb0de8..b6716e2 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" - "git.unbound.se/shiny/presenter" + "gitea.unbound.se/shiny/presenter" ) func Test_globalErrorPresenter(t *testing.T) {