Merge pull request 'chore: migrate module path to gitea.unbound.se' (#116) from migrate-to-gitea into main
presenter / test (push) Successful in 1m11s
Release / release (push) Successful in 2m20s
presenter / vulnerabilities (push) Successful in 4m14s
pre-commit / pre-commit (push) Successful in 11m40s

Reviewed-on: #116
This commit was merged in pull request #116.
This commit is contained in:
2026-01-09 13:49:48 +00:00
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ repos:
- id: go-imports - id: go-imports
args: args:
- -local - -local
- git.unbound.se/shiny/presenter - gitea.unbound.se/shiny/presenter
- 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:
+1 -1
View File
@@ -18,7 +18,7 @@ Provides a standardized GraphQL error presenter that handles coded errors across
### Usage ### Usage
```go ```go
import "git.unbound.se/shiny/presenter" import "gitea.unbound.se/shiny/presenter"
// Create error presenter with valid codes and entities // Create error presenter with valid codes and entities
errorPresenter := presenter.New(logger, validCodes, validEntities, internalErrorCode) errorPresenter := presenter.New(logger, validCodes, validEntities, internalErrorCode)
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"git.unbound.se/shiny/presenter" "gitea.unbound.se/shiny/presenter"
) )
func TestCodedError_ErrorIs(t *testing.T) { func TestCodedError_ErrorIs(t *testing.T) {
+1 -1
View File
@@ -1,4 +1,4 @@
module git.unbound.se/shiny/presenter module gitea.unbound.se/shiny/presenter
go 1.24.1 go 1.24.1
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/vektah/gqlparser/v2/gqlerror" "github.com/vektah/gqlparser/v2/gqlerror"
"git.unbound.se/shiny/presenter" "gitea.unbound.se/shiny/presenter"
) )
func Test_globalErrorPresenter(t *testing.T) { func Test_globalErrorPresenter(t *testing.T) {