Fix Go module path to match subdirectory structure#26
Merged
Conversation
…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>
79c7467 to
35f597e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
go.agenttel.dev/agentteltogo.agenttel.dev/agenttel-gogo.agenttel.devto use correct prefix so Go tooling can locatego.modin theagenttel-go/subdirectoryWhy
The Go module proxy couldn't find the package because
go.modlives inagenttel-go/subdirectory, not at the repo root. Go requires the module path suffix to match the directory name —go.agenttel.dev/agenttel-gomaps toagenttel-go/go.mod.Install command after merge
Test plan
go.agenttel.dev/agenttel-goresolves on pkg.go.dev after taggingcd agenttel-go && go build ./...