From fbd646456ae1701305d26437391bb5f1ce109936 Mon Sep 17 00:00:00 2001 From: Snider Date: Sat, 21 Mar 2026 08:27:14 +0000 Subject: [PATCH] refactor: flatten polyglot layout to standard Go module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move source from go/core/ to root, tests from go/tests/ to tests/. Module path dappco.re/go/core resolves cleanly — builds and tests pass. Co-Authored-By: Virgil --- go/core/app.go => app.go | 0 go/core/array.go => array.go | 0 go/core/cli.go => cli.go | 0 go/core/command.go => command.go | 0 go/core/config.go => config.go | 0 go/core/contract.go => contract.go | 0 go/core/core.go => core.go | 0 go/core/data.go => data.go | 0 go/core/drive.go => drive.go | 0 go/core/embed.go => embed.go | 0 go/core/error.go => error.go | 0 go/core/fs.go => fs.go | 0 go/core/go.mod => go.mod | 0 go/core/go.sum => go.sum | 0 go/.golangci.yml | 22 ------------------- go/core/i18n.go => i18n.go | 0 go/core/ipc.go => ipc.go | 0 go/core/lock.go => lock.go | 0 go/core/log.go => log.go | 0 go/core/options.go => options.go | 0 go/core/runtime.go => runtime.go | 0 go/core/service.go => service.go | 0 go/core/string.go => string.go | 0 go/core/task.go => task.go | 0 {go/tests => tests}/app_test.go | 0 {go/tests => tests}/array_test.go | 0 {go/tests => tests}/cli_test.go | 0 {go/tests => tests}/command_test.go | 0 {go/tests => tests}/config_test.go | 0 {go/tests => tests}/core_test.go | 0 {go/tests => tests}/data_test.go | 0 {go/tests => tests}/drive_test.go | 0 {go/tests => tests}/embed_test.go | 0 {go/tests => tests}/error_test.go | 0 {go/tests => tests}/fs_test.go | 0 {go/tests => tests}/i18n_test.go | 0 {go/tests => tests}/ipc_test.go | 0 {go/tests => tests}/lock_test.go | 0 {go/tests => tests}/log_test.go | 0 {go/tests => tests}/options_test.go | 0 {go/tests => tests}/runtime_test.go | 0 {go/tests => tests}/service_test.go | 0 {go/tests => tests}/string_test.go | 0 {go/tests => tests}/task_test.go | 0 {go/tests => tests}/testdata/cli_clir.go.bak | 0 .../testdata/scantest/sample.go | 0 {go/tests => tests}/testdata/test.txt | 0 {go/tests => tests}/utils_test.go | 0 go/core/utils.go => utils.go | 0 49 files changed, 22 deletions(-) rename go/core/app.go => app.go (100%) rename go/core/array.go => array.go (100%) rename go/core/cli.go => cli.go (100%) rename go/core/command.go => command.go (100%) rename go/core/config.go => config.go (100%) rename go/core/contract.go => contract.go (100%) rename go/core/core.go => core.go (100%) rename go/core/data.go => data.go (100%) rename go/core/drive.go => drive.go (100%) rename go/core/embed.go => embed.go (100%) rename go/core/error.go => error.go (100%) rename go/core/fs.go => fs.go (100%) rename go/core/go.mod => go.mod (100%) rename go/core/go.sum => go.sum (100%) delete mode 100644 go/.golangci.yml rename go/core/i18n.go => i18n.go (100%) rename go/core/ipc.go => ipc.go (100%) rename go/core/lock.go => lock.go (100%) rename go/core/log.go => log.go (100%) rename go/core/options.go => options.go (100%) rename go/core/runtime.go => runtime.go (100%) rename go/core/service.go => service.go (100%) rename go/core/string.go => string.go (100%) rename go/core/task.go => task.go (100%) rename {go/tests => tests}/app_test.go (100%) rename {go/tests => tests}/array_test.go (100%) rename {go/tests => tests}/cli_test.go (100%) rename {go/tests => tests}/command_test.go (100%) rename {go/tests => tests}/config_test.go (100%) rename {go/tests => tests}/core_test.go (100%) rename {go/tests => tests}/data_test.go (100%) rename {go/tests => tests}/drive_test.go (100%) rename {go/tests => tests}/embed_test.go (100%) rename {go/tests => tests}/error_test.go (100%) rename {go/tests => tests}/fs_test.go (100%) rename {go/tests => tests}/i18n_test.go (100%) rename {go/tests => tests}/ipc_test.go (100%) rename {go/tests => tests}/lock_test.go (100%) rename {go/tests => tests}/log_test.go (100%) rename {go/tests => tests}/options_test.go (100%) rename {go/tests => tests}/runtime_test.go (100%) rename {go/tests => tests}/service_test.go (100%) rename {go/tests => tests}/string_test.go (100%) rename {go/tests => tests}/task_test.go (100%) rename {go/tests => tests}/testdata/cli_clir.go.bak (100%) rename {go/tests => tests}/testdata/scantest/sample.go (100%) rename {go/tests => tests}/testdata/test.txt (100%) rename {go/tests => tests}/utils_test.go (100%) rename go/core/utils.go => utils.go (100%) diff --git a/go/core/app.go b/app.go similarity index 100% rename from go/core/app.go rename to app.go diff --git a/go/core/array.go b/array.go similarity index 100% rename from go/core/array.go rename to array.go diff --git a/go/core/cli.go b/cli.go similarity index 100% rename from go/core/cli.go rename to cli.go diff --git a/go/core/command.go b/command.go similarity index 100% rename from go/core/command.go rename to command.go diff --git a/go/core/config.go b/config.go similarity index 100% rename from go/core/config.go rename to config.go diff --git a/go/core/contract.go b/contract.go similarity index 100% rename from go/core/contract.go rename to contract.go diff --git a/go/core/core.go b/core.go similarity index 100% rename from go/core/core.go rename to core.go diff --git a/go/core/data.go b/data.go similarity index 100% rename from go/core/data.go rename to data.go diff --git a/go/core/drive.go b/drive.go similarity index 100% rename from go/core/drive.go rename to drive.go diff --git a/go/core/embed.go b/embed.go similarity index 100% rename from go/core/embed.go rename to embed.go diff --git a/go/core/error.go b/error.go similarity index 100% rename from go/core/error.go rename to error.go diff --git a/go/core/fs.go b/fs.go similarity index 100% rename from go/core/fs.go rename to fs.go diff --git a/go/core/go.mod b/go.mod similarity index 100% rename from go/core/go.mod rename to go.mod diff --git a/go/core/go.sum b/go.sum similarity index 100% rename from go/core/go.sum rename to go.sum diff --git a/go/.golangci.yml b/go/.golangci.yml deleted file mode 100644 index 774475b..0000000 --- a/go/.golangci.yml +++ /dev/null @@ -1,22 +0,0 @@ -run: - timeout: 5m - go: "1.26" - -linters: - enable: - - govet - - errcheck - - staticcheck - - unused - - gosimple - - ineffassign - - typecheck - - gocritic - - gofmt - disable: - - exhaustive - - wrapcheck - -issues: - exclude-use-default: false - max-same-issues: 0 diff --git a/go/core/i18n.go b/i18n.go similarity index 100% rename from go/core/i18n.go rename to i18n.go diff --git a/go/core/ipc.go b/ipc.go similarity index 100% rename from go/core/ipc.go rename to ipc.go diff --git a/go/core/lock.go b/lock.go similarity index 100% rename from go/core/lock.go rename to lock.go diff --git a/go/core/log.go b/log.go similarity index 100% rename from go/core/log.go rename to log.go diff --git a/go/core/options.go b/options.go similarity index 100% rename from go/core/options.go rename to options.go diff --git a/go/core/runtime.go b/runtime.go similarity index 100% rename from go/core/runtime.go rename to runtime.go diff --git a/go/core/service.go b/service.go similarity index 100% rename from go/core/service.go rename to service.go diff --git a/go/core/string.go b/string.go similarity index 100% rename from go/core/string.go rename to string.go diff --git a/go/core/task.go b/task.go similarity index 100% rename from go/core/task.go rename to task.go diff --git a/go/tests/app_test.go b/tests/app_test.go similarity index 100% rename from go/tests/app_test.go rename to tests/app_test.go diff --git a/go/tests/array_test.go b/tests/array_test.go similarity index 100% rename from go/tests/array_test.go rename to tests/array_test.go diff --git a/go/tests/cli_test.go b/tests/cli_test.go similarity index 100% rename from go/tests/cli_test.go rename to tests/cli_test.go diff --git a/go/tests/command_test.go b/tests/command_test.go similarity index 100% rename from go/tests/command_test.go rename to tests/command_test.go diff --git a/go/tests/config_test.go b/tests/config_test.go similarity index 100% rename from go/tests/config_test.go rename to tests/config_test.go diff --git a/go/tests/core_test.go b/tests/core_test.go similarity index 100% rename from go/tests/core_test.go rename to tests/core_test.go diff --git a/go/tests/data_test.go b/tests/data_test.go similarity index 100% rename from go/tests/data_test.go rename to tests/data_test.go diff --git a/go/tests/drive_test.go b/tests/drive_test.go similarity index 100% rename from go/tests/drive_test.go rename to tests/drive_test.go diff --git a/go/tests/embed_test.go b/tests/embed_test.go similarity index 100% rename from go/tests/embed_test.go rename to tests/embed_test.go diff --git a/go/tests/error_test.go b/tests/error_test.go similarity index 100% rename from go/tests/error_test.go rename to tests/error_test.go diff --git a/go/tests/fs_test.go b/tests/fs_test.go similarity index 100% rename from go/tests/fs_test.go rename to tests/fs_test.go diff --git a/go/tests/i18n_test.go b/tests/i18n_test.go similarity index 100% rename from go/tests/i18n_test.go rename to tests/i18n_test.go diff --git a/go/tests/ipc_test.go b/tests/ipc_test.go similarity index 100% rename from go/tests/ipc_test.go rename to tests/ipc_test.go diff --git a/go/tests/lock_test.go b/tests/lock_test.go similarity index 100% rename from go/tests/lock_test.go rename to tests/lock_test.go diff --git a/go/tests/log_test.go b/tests/log_test.go similarity index 100% rename from go/tests/log_test.go rename to tests/log_test.go diff --git a/go/tests/options_test.go b/tests/options_test.go similarity index 100% rename from go/tests/options_test.go rename to tests/options_test.go diff --git a/go/tests/runtime_test.go b/tests/runtime_test.go similarity index 100% rename from go/tests/runtime_test.go rename to tests/runtime_test.go diff --git a/go/tests/service_test.go b/tests/service_test.go similarity index 100% rename from go/tests/service_test.go rename to tests/service_test.go diff --git a/go/tests/string_test.go b/tests/string_test.go similarity index 100% rename from go/tests/string_test.go rename to tests/string_test.go diff --git a/go/tests/task_test.go b/tests/task_test.go similarity index 100% rename from go/tests/task_test.go rename to tests/task_test.go diff --git a/go/tests/testdata/cli_clir.go.bak b/tests/testdata/cli_clir.go.bak similarity index 100% rename from go/tests/testdata/cli_clir.go.bak rename to tests/testdata/cli_clir.go.bak diff --git a/go/tests/testdata/scantest/sample.go b/tests/testdata/scantest/sample.go similarity index 100% rename from go/tests/testdata/scantest/sample.go rename to tests/testdata/scantest/sample.go diff --git a/go/tests/testdata/test.txt b/tests/testdata/test.txt similarity index 100% rename from go/tests/testdata/test.txt rename to tests/testdata/test.txt diff --git a/go/tests/utils_test.go b/tests/utils_test.go similarity index 100% rename from go/tests/utils_test.go rename to tests/utils_test.go diff --git a/go/core/utils.go b/utils.go similarity index 100% rename from go/core/utils.go rename to utils.go