Skip to content

Fix Go module path to match subdirectory structure#26

Merged
rrohitramsen merged 1 commit into
mainfrom
feature/fix-go-module-path
Apr 11, 2026
Merged

Fix Go module path to match subdirectory structure#26
rrohitramsen merged 1 commit into
mainfrom
feature/fix-go-module-path

Conversation

@rrohitramsen

Copy link
Copy Markdown
Collaborator

Summary

  • Change Go module path from go.agenttel.dev/agenttel to go.agenttel.dev/agenttel-go
  • Update vanity import at go.agenttel.dev to use correct prefix so Go tooling can locate go.mod in the agenttel-go/ subdirectory
  • Update all Go import paths across 38 files

Why

The Go module proxy couldn't find the package because go.mod lives in agenttel-go/ subdirectory, not at the repo root. Go requires the module path suffix to match the directory name — go.agenttel.dev/agenttel-go maps to agenttel-go/go.mod.

Install command after merge

go get go.agenttel.dev/agenttel-go@latest

Test plan

  • Verify go.agenttel.dev/agenttel-go resolves on pkg.go.dev after tagging
  • Verify all Go imports compile: cd agenttel-go && go build ./...
  • Verify example apps compile with new import paths

…v/agenttel-go

The Go module lives in the agenttel-go/ subdirectory of the monorepo.
Go tooling requires the module path suffix to match the directory name
so the module proxy can locate go.mod correctly.

- Update go.mod and all import paths across 38 files
- Update vanity import at go.agenttel.dev to use prefix go.agenttel.dev
- Update README and docs with new install command

Signed-off-by: Rohit <rohit@Rohits-MBP.mynet>
@rrohitramsen rrohitramsen force-pushed the feature/fix-go-module-path branch from 79c7467 to 35f597e Compare April 11, 2026 18:16
@rrohitramsen rrohitramsen merged commit c4b5f1b into main Apr 11, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant