1A. Go - Workspace
Go Workspace, workspace for packages, files for projects, etc. Separate from GO's installation root directory.
Setup GO PATHS in environment variables (in system variables).
GOROOT // points to Go root folder in C directory.
GOPATH // points to the Go workspace folder
Go workspace should be define in GO PATH.
Go root directory defined by GO ROOT.
Use go env to set workspace.
Workspace requires:
- bin
- pkg
- src
Comments
Post a Comment