To my understanding, GO GET was depricated in 1.17. This version has no shortage of adoption in the Go ecosystem but when you look at wide distribution, the last Ubuntu LTS to feature 1.17 or prio Go version was 20.04 which is EOL this month. That brings up questions about AI training: Why do even the latest Open AI and Grok models still instruct using GO GET for installing packages? Where is that training coming from that multiple modern models have it all wrong? The fact that Open AI has it wrong and Grok too has it wrong indicate a little AI model copying going on there?
No clue. But I just asked Grok about go get and it did tell me to use go install
for installing binaries and go get
for adding dependencies to packages. It might be that it’s confused about your intended use when it recommends go get
when go install
is the correct command.
Dean, got simimalr, very accurate info when I asked it about install, get, and even go mod tidy. 100% accurate. However, when I asked it to create me some quick code using a specific package, without asking, it gave me instructions including go get. Thanks for replying about your experience with it.