educative.io

Go Get Deprecated

Isn’t go get deprecated already? Deprecation of 'go get' for installing executables - The Go Programming Language


Course: The Way to Go - Learn Interactively
Lesson: https://www.educative.io/courses/the-way-to-go/installing-external-packages

Yes, the “go get” is deprecated since Go v1.17, but only for installing executables. In that use-case, “go get” is replaced with “go install”.
However, go get is still currently in use to add dependencies to the current module and install them. It updates module dependencies in the go.mod file for the main module, then builds and installs packages listed on the command line.

Check out the following resources for more information: