diff --git a/go.mod b/go.mod index e6140ad..e4be908 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module forge.lthn.ai/core/go +module dappco.re/go/core go 1.26.0 diff --git a/pkg/core/embed.go b/pkg/core/embed.go index d960c25..812ce0d 100644 --- a/pkg/core/embed.go +++ b/pkg/core/embed.go @@ -224,7 +224,7 @@ func GeneratePack(pkg ScannedPackage) Result { return Result{b.String(), true} } - b.WriteString("import \"forge.lthn.ai/core/go/pkg/core\"\n\n") + b.WriteString("import \"dappco.re/go/core/pkg/core\"\n\n") b.WriteString("func init() {\n") // Pack groups (entire directories) diff --git a/tests/app_test.go b/tests/app_test.go index 62fc909..87a33ec 100644 --- a/tests/app_test.go +++ b/tests/app_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/array_test.go b/tests/array_test.go index ea190bc..dba55e9 100644 --- a/tests/array_test.go +++ b/tests/array_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/cli_test.go b/tests/cli_test.go index 85426bb..6930b6c 100644 --- a/tests/cli_test.go +++ b/tests/cli_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/command_test.go b/tests/command_test.go index bdacd15..e68877f 100644 --- a/tests/command_test.go +++ b/tests/command_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/config_test.go b/tests/config_test.go index 6569748..4973ca3 100644 --- a/tests/config_test.go +++ b/tests/config_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/core_test.go b/tests/core_test.go index 1b99156..14056ab 100644 --- a/tests/core_test.go +++ b/tests/core_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/data_test.go b/tests/data_test.go index 4b7e5d6..d77de02 100644 --- a/tests/data_test.go +++ b/tests/data_test.go @@ -5,7 +5,7 @@ import ( "io" "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/drive_test.go b/tests/drive_test.go index a494319..882bbdb 100644 --- a/tests/drive_test.go +++ b/tests/drive_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/embed_test.go b/tests/embed_test.go index 4691c5e..2b3424f 100644 --- a/tests/embed_test.go +++ b/tests/embed_test.go @@ -7,7 +7,7 @@ import ( "os" "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) @@ -144,7 +144,7 @@ func TestGeneratePack_WithFiles_Good(t *testing.T) { os.MkdirAll(assetDir, 0755) os.WriteFile(assetDir+"/hello.txt", []byte("hello world"), 0644) - source := "package test\nimport \"forge.lthn.ai/core/go/pkg/core\"\nfunc example() {\n\t_, _ = core.GetAsset(\"mygroup\", \"hello.txt\")\n}\n" + source := "package test\nimport \"dappco.re/go/core/pkg/core\"\nfunc example() {\n\t_, _ = core.GetAsset(\"mygroup\", \"hello.txt\")\n}\n" goFile := dir + "/test.go" os.WriteFile(goFile, []byte(source), 0644) diff --git a/tests/error_test.go b/tests/error_test.go index 54b0f97..3bc3bab 100644 --- a/tests/error_test.go +++ b/tests/error_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/fs_test.go b/tests/fs_test.go index 2fd9ece..d7041b6 100644 --- a/tests/fs_test.go +++ b/tests/fs_test.go @@ -7,7 +7,7 @@ import ( "path/filepath" "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/i18n_test.go b/tests/i18n_test.go index b189037..db5f423 100644 --- a/tests/i18n_test.go +++ b/tests/i18n_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/ipc_test.go b/tests/ipc_test.go index 44f1fdc..a8973f6 100644 --- a/tests/ipc_test.go +++ b/tests/ipc_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/lock_test.go b/tests/lock_test.go index 12c55e5..cf344ed 100644 --- a/tests/lock_test.go +++ b/tests/lock_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/log_test.go b/tests/log_test.go index c0dc565..ed91569 100644 --- a/tests/log_test.go +++ b/tests/log_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/options_test.go b/tests/options_test.go index 158d496..859ce0f 100644 --- a/tests/options_test.go +++ b/tests/options_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/runtime_test.go b/tests/runtime_test.go index 9c08de2..eb5a4f2 100644 --- a/tests/runtime_test.go +++ b/tests/runtime_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/service_test.go b/tests/service_test.go index 948217d..7386e89 100644 --- a/tests/service_test.go +++ b/tests/service_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/string_test.go b/tests/string_test.go index c2e9f34..d753ff2 100644 --- a/tests/string_test.go +++ b/tests/string_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/task_test.go b/tests/task_test.go index 54f728e..3178ba8 100644 --- a/tests/task_test.go +++ b/tests/task_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" ) diff --git a/tests/testdata/scantest/sample.go b/tests/testdata/scantest/sample.go index 9fec3cf..fbd9154 100644 --- a/tests/testdata/scantest/sample.go +++ b/tests/testdata/scantest/sample.go @@ -1,6 +1,6 @@ package scantest -import "forge.lthn.ai/core/go/pkg/core" +import "dappco.re/go/core/pkg/core" func example() { _, _ = core.GetAsset("mygroup", "myfile.txt") diff --git a/tests/utils_test.go b/tests/utils_test.go index dcb8d4c..fafc04a 100644 --- a/tests/utils_test.go +++ b/tests/utils_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - . "forge.lthn.ai/core/go/pkg/core" + . "dappco.re/go/core/pkg/core" "github.com/stretchr/testify/assert" )