What is GOROOT and GOPATH. Fixing the problem of go path export

What is GOROOT and GOPATH and how to fix it?


What is GOROOT and GOPATH and the problem of go path export.  I have been through this many times and have seen lot of people struggling to fix this. In this small post I will tell you how to fix this problem. Lets see what is GOROOT and GOPATH? How to install go latest version?

Are you preparing for DevOps or SRE Interviews in the coming days?

We have a last-minute preparation book for you

Interview preparation and interview questions for DevOps and SRE
Interview preparation and questions for DevOps and SRE


One of the best reads for last-minute preparations for handling DevOps and SRE interviews at companies like LinkedIn, Visa, Atlassian, etc.