adjust code to new repository

This commit is contained in:
T. R. Bernstein
2025-10-09 21:02:10 +02:00
committed by T. R. Bernstein
parent 0cf34c475b
commit 795cd8335f
335 changed files with 803 additions and 802 deletions

View File

@@ -8,7 +8,7 @@ import (
"strings"
validation "github.com/go-ozzo/ozzo-validation/v4"
"github.com/pocketbase/pocketbase/tools/inflector"
"github.com/tabshift-gh/pocketbase/tools/inflector"
)
// SafeErrorItem defines a common error interface for a printable public safe error.

View File

@@ -10,7 +10,7 @@ import (
"testing"
validation "github.com/go-ozzo/ozzo-validation/v4"
"github.com/pocketbase/pocketbase/tools/router"
"github.com/tabshift-gh/pocketbase/tools/router"
)
func TestNewApiErrorWithRawData(t *testing.T) {

View File

@@ -12,10 +12,10 @@ import (
"path/filepath"
"strings"
"github.com/pocketbase/pocketbase/tools/filesystem"
"github.com/pocketbase/pocketbase/tools/hook"
"github.com/pocketbase/pocketbase/tools/picker"
"github.com/pocketbase/pocketbase/tools/store"
"github.com/tabshift-gh/pocketbase/tools/filesystem"
"github.com/tabshift-gh/pocketbase/tools/hook"
"github.com/tabshift-gh/pocketbase/tools/picker"
"github.com/tabshift-gh/pocketbase/tools/store"
)
var ErrUnsupportedContentType = NewBadRequestError("Unsupported Content-Type", nil)

View File

@@ -19,7 +19,7 @@ import (
"testing"
validation "github.com/go-ozzo/ozzo-validation/v4"
"github.com/pocketbase/pocketbase/tools/router"
"github.com/tabshift-gh/pocketbase/tools/router"
)
type unwrapTester struct {

View File

@@ -5,7 +5,7 @@ import (
"regexp"
"strings"
"github.com/pocketbase/pocketbase/tools/hook"
"github.com/tabshift-gh/pocketbase/tools/hook"
)
// (note: the struct is named RouterGroup instead of Group so that it can

View File

@@ -7,7 +7,7 @@ import (
"slices"
"testing"
"github.com/pocketbase/pocketbase/tools/hook"
"github.com/tabshift-gh/pocketbase/tools/hook"
)
func TestRouterGroupGroup(t *testing.T) {

View File

@@ -1,6 +1,6 @@
package router
import "github.com/pocketbase/pocketbase/tools/hook"
import "github.com/tabshift-gh/pocketbase/tools/hook"
type Route[T hook.Resolver] struct {
excludedMiddlewares map[string]struct{}

View File

@@ -4,7 +4,7 @@ import (
"slices"
"testing"
"github.com/pocketbase/pocketbase/tools/hook"
"github.com/tabshift-gh/pocketbase/tools/hook"
)
func TestRouteBindFunc(t *testing.T) {

View File

@@ -9,7 +9,7 @@ import (
"net"
"net/http"
"github.com/pocketbase/pocketbase/tools/hook"
"github.com/tabshift-gh/pocketbase/tools/hook"
)
type EventCleanupFunc func()

View File

@@ -6,8 +6,8 @@ import (
"net/http/httptest"
"testing"
"github.com/pocketbase/pocketbase/tools/hook"
"github.com/pocketbase/pocketbase/tools/router"
"github.com/tabshift-gh/pocketbase/tools/hook"
"github.com/tabshift-gh/pocketbase/tools/router"
)
func TestRouter(t *testing.T) {

View File

@@ -6,7 +6,7 @@ import (
"testing"
"time"
"github.com/pocketbase/pocketbase/tools/router"
"github.com/tabshift-gh/pocketbase/tools/router"
)
func pointer[T any](val T) *T {