educative.io

Educative

https://www.educative.io/courses/introduction-to-programming-in-go/3wk73GZ0LXn

What should the GOPATH to be set to?


Type your question above this line.

Course: https://www.educative.io/collection/10370001/6199152924950528
Lesson: https://www.educative.io/collection/page/10370001/6199152924950528/4887950949089280

Hey @Praveen_Suluvai!
The go get pull down the code and put it in the Go path. While installing Go, we set the GOPATH environment variable, which is used to store binaries and libraries. That’s also where you should store your code (your workspace).