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

Popular posts from this blog

2. FreeCodeCamp - Dynamic Programming - Learn to Solve Algorithmic Problems & Coding Challenges

20. Data Analytics - Analyze Data to Answer Questions - Week 1

3. Algorithms - Selection Sort