Update Go Dependencies #379
Reference in New Issue
Block a user
Delete Branch "upd-go"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have no idea what I am doing, I used ai to help fix an issue.
This is my process:
go get -u ./...error:
ai said to do this:
go mod edit -replace google.golang.org/genproto=google.golang.org/genproto/googleapis/rpc@latestwhich added a line to the go.mod:
after running
go get -u ./...successfully, I removed the 'replace' line manually and things still seem to work. Ai thinks that "This happened because Google split google.golang.org/genproto into multiple smaller modules (like genproto/googleapis/rpc, genproto/googleapis/api, etc.) starting around 2023"