Go Development and Execution Environment: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
=Compilation= | =Compilation= | ||
{{Internal|Go_Tool#build|<tt>go build</tt>}} | |||
=Execution= | =Execution= |
Revision as of 01:23, 15 August 2023
Internal
Overview
The go Tool
go
is a tool used to manage source code. More details:
Environment Variables
GOPATH
The GOPATH
environment variable defines the workspace directory. Go tools assume that your code is under the path designated by GOPATH
. Used to search for packages during compilation, when packages are being imported.
GOROOT
Used to search for packages during compilation, when packages are being imported.
Compilation
Execution
TODO
Deplete, merge and delete Go Concepts - Runtime