Skip to content

Commit a07295f

Browse files
committed
refactor(go): restructure to /go/ subtree (Mantis #1236)
- Move all .go sources from repo root into /go/ subtree (canonical layout) - Add go.work at repo root + external/go submodule - Repo was already audit-COMPLIANT in flat layout — this commit lands the canonical repo-shape (Layer 1 of the unified brief). - go mod tidy regenerated go.sum to match upstream proxy Verification: - GOWORK=off go build ./... clean - GOWORK=off go vet ./... clean - GOWORK=off go test -count=1 -short ./... clean - audit.sh verdict: COMPLIANT (every counter at 0) Closes tasks.lthn.sh/view.php?id=1236
1 parent e78b55f commit a07295f

20 files changed

Lines changed: 15 additions & 1 deletion

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "external/go"]
2+
path = external/go
3+
url = https://github.com/dappcore/go.git
4+
branch = dev

external/go

Submodule go added at d661b70

go.sum

Whitespace-only changes.

go.work

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
go 1.26.0
22

3-
use .
3+
// Workspace mode for development: pulls local sources from external/ submodules.
4+
//
5+
// CI: GOWORK=off uses go/go.mod tags for reproducible resolution.
6+
7+
use (
8+
./go
9+
./external/go
10+
)
File renamed without changes.
File renamed without changes.
File renamed without changes.

go/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dappco.re/go v0.9.0 h1:4ruZRNqKDDva8o6g65tYggjGVe42E6/lMZfVKXtr3p0=
2+
dappco.re/go v0.9.0/go.mod h1:xapr7fLK4/9Pu2iSCr4qZuIuatmtx1j56zS/oPDbGyQ=
File renamed without changes.

0 commit comments

Comments
 (0)