fix: rename module path from ninja/core to block/core

Matches the actual Gitea repo location at block/core.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alex Dunmow 2026-05-01 09:39:10 +08:00
parent 1be5172358
commit 13d741979a
6 changed files with 11 additions and 11 deletions

View File

@ -8,7 +8,7 @@ import (
"regexp"
"strings"
"git.dev.alexdunmow.com/ninja/core/blocks"
"git.dev.alexdunmow.com/block/core/blocks"
"github.com/google/uuid"
)

2
go.mod
View File

@ -1,4 +1,4 @@
module git.dev.alexdunmow.com/ninja/core
module git.dev.alexdunmow.com/block/core
go 1.26

View File

@ -3,7 +3,7 @@ package plugin
import (
"io/fs"
"git.dev.alexdunmow.com/ninja/core/blocks"
"git.dev.alexdunmow.com/block/core/blocks"
)
// PluginBlockRegistry wraps a BlockRegistry to auto-prefix block keys with the plugin name.

View File

@ -4,11 +4,11 @@ import (
"context"
"connectrpc.com/connect"
"git.dev.alexdunmow.com/ninja/core/ai"
"git.dev.alexdunmow.com/ninja/core/content"
"git.dev.alexdunmow.com/ninja/core/crypto"
"git.dev.alexdunmow.com/ninja/core/gating"
"git.dev.alexdunmow.com/ninja/core/settings"
"git.dev.alexdunmow.com/block/core/ai"
"git.dev.alexdunmow.com/block/core/content"
"git.dev.alexdunmow.com/block/core/crypto"
"git.dev.alexdunmow.com/block/core/gating"
"git.dev.alexdunmow.com/block/core/settings"
)
// ServiceDeps provides dependencies that plugins need for RPC service handlers.

View File

@ -4,8 +4,8 @@ import (
"io/fs"
"net/http"
"git.dev.alexdunmow.com/ninja/core/blocks"
"git.dev.alexdunmow.com/ninja/core/templates"
"git.dev.alexdunmow.com/block/core/blocks"
"git.dev.alexdunmow.com/block/core/templates"
)
// RegisterFunc is the function signature for plugin registration.

View File

@ -5,7 +5,7 @@ import (
"net/http"
"connectrpc.com/connect"
"git.dev.alexdunmow.com/ninja/core/rbac"
"git.dev.alexdunmow.com/block/core/rbac"
)
// ServiceMount is a path + handler pair for an RPC service.