diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2232f5d..b52e263 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,13 +10,6 @@ repos: args: - --allow-multiple-documents - id: check-added-large-files -- repo: https://gitlab.com/devopshq/gitlab-ci-linter - rev: v1.0.6 - hooks: - - id: gitlab-ci-linter - args: - - --project - - unboundsoftware/shiny/presenter - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook rev: v9.23.0 hooks: @@ -30,7 +23,7 @@ repos: - id: go-imports args: - -local - - gitlab.com/unboundsoftware/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 a715850..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 "gitlab.com/unboundsoftware/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/README.md b/README.md index 2981f30..0b12800 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,3 @@ # Shiny global error presenter GraphQL global error presenter handling coded errors. - -[![Build Status](https://gitlab.com/unboundsoftware/shiny/presenter/badges/main/pipeline.svg)](https://gitlab.com/unboundsoftware/shiny/presenter/commits/main) -[![codecov](https://codecov.io/gl/unboundsoftware:shiny/presenter/branch/main/graph/badge.svg?token=8F3HKACF7A)](https://codecov.io/gl/unboundsoftware:shiny/presenter) diff --git a/error_test.go b/error_test.go index cb8d991..e737ba0 100644 --- a/error_test.go +++ b/error_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "gitlab.com/unboundsoftware/shiny/presenter" + "git.unbound.se/shiny/presenter" ) func TestCodedError_ErrorIs(t *testing.T) { diff --git a/go.mod b/go.mod index f762ff8..963e9ff 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitlab.com/unboundsoftware/shiny/presenter +module git.unbound.se/shiny/presenter go 1.24.1 diff --git a/presenter_test.go b/presenter_test.go index 036e4fa..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" - "gitlab.com/unboundsoftware/shiny/presenter" + "git.unbound.se/shiny/presenter" ) func Test_globalErrorPresenter(t *testing.T) {