From 9081a88b11ecd1ef94e005d3e6c7098fcb6df03b Mon Sep 17 00:00:00 2001 From: Michael Heller <21163552+mdheller@users.noreply.github.com> Date: Sat, 27 Jun 2026 15:41:34 -0400 Subject: [PATCH] fix(go): real module path for the v1 port (drop example/ placeholder) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit go/tritrpcv1 declared 'module github.com/example/tritrpcv1' — an unresolvable scaffold placeholder, so the module could not be 'go get'-able and imports referenced a fake org. Point it at the real path github.com/SocioProphet/TriTRPC/go/tritrpcv1 (go.mod + the cmd/trpc importer). Keeps the v1 suffix deliberately: the stable line is named consistently across languages (rust/tritrpc_v1, reference/tritrpc_v1.py), and that 1:1 cross-language anchor is the point of a reference implementation. vNext gets its own sibling module (go/tritrpcvnext) when the Go port lands — mirroring reference/experimental/..._v4 — rather than de-versioning v1 or using Go semantic-import /v2 suffixes. Effectively non-breaking: the example/ placeholder is unresolvable, so no external importer exists. Verified: go build ./..., go vet ./..., go test ./... all pass. --- go/tritrpcv1/cmd/trpc/main.go | 2 +- go/tritrpcv1/go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go/tritrpcv1/cmd/trpc/main.go b/go/tritrpcv1/cmd/trpc/main.go index c498330..3a1c4b1 100644 --- a/go/tritrpcv1/cmd/trpc/main.go +++ b/go/tritrpcv1/cmd/trpc/main.go @@ -10,7 +10,7 @@ import ( "os" "strings" - tr "github.com/example/tritrpcv1" + tr "github.com/SocioProphet/TriTRPC/go/tritrpcv1" "golang.org/x/crypto/blake2b" ) diff --git a/go/tritrpcv1/go.mod b/go/tritrpcv1/go.mod index b6cad31..49a7ce3 100644 --- a/go/tritrpcv1/go.mod +++ b/go/tritrpcv1/go.mod @@ -1,4 +1,4 @@ -module github.com/example/tritrpcv1 +module github.com/SocioProphet/TriTRPC/go/tritrpcv1 go 1.21