Posted on 27th April 2024
We can set the GOPATH in Windows through the following step:
Create the GOPATH Environment Variable and refer to your GO Workspace path. Press System/Advanced System Settings/Environment Variables. After that System variables/New.
Set variable name to “GOPATH” and value to path of GO workspace. After that we have to check whether the path is set or not.
STILL GOT QUERIES?