From ae321f534424211a14bc0bacd058320b4b298d6e Mon Sep 17 00:00:00 2001 From: Snider Date: Sat, 14 Mar 2026 10:10:43 +0000 Subject: [PATCH] refactor(api): update import path from go-api to core/api MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Part of the polyglot merge — forge.lthn.ai/core/go-api is now forge.lthn.ai/core/api. Co-Authored-By: Virgil --- go.mod | 2 +- pkg/api/provider.go | 4 ++-- pkg/api/provider_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 07d5695..cce8755 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module forge.lthn.ai/core/go-process go 1.26.0 require ( - forge.lthn.ai/core/go-api v0.1.2 + forge.lthn.ai/core/api v0.1.0 forge.lthn.ai/core/go-ws v0.1.3 github.com/gin-gonic/gin v1.12.0 github.com/stretchr/testify v1.11.1 diff --git a/pkg/api/provider.go b/pkg/api/provider.go index a5184e4..9ec4413 100644 --- a/pkg/api/provider.go +++ b/pkg/api/provider.go @@ -10,8 +10,8 @@ import ( "strconv" "syscall" - "forge.lthn.ai/core/go-api" - "forge.lthn.ai/core/go-api/pkg/provider" + "forge.lthn.ai/core/api" + "forge.lthn.ai/core/api/pkg/provider" process "forge.lthn.ai/core/go-process" "forge.lthn.ai/core/go-ws" "github.com/gin-gonic/gin" diff --git a/pkg/api/provider_test.go b/pkg/api/provider_test.go index 187968b..d4c9fe0 100644 --- a/pkg/api/provider_test.go +++ b/pkg/api/provider_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - goapi "forge.lthn.ai/core/go-api" + goapi "forge.lthn.ai/core/api" process "forge.lthn.ai/core/go-process" processapi "forge.lthn.ai/core/go-process/pkg/api" "github.com/gin-gonic/gin"