Go Development and Execution Environment

From NovaOrdis Knowledge Base
Revision as of 00:59, 15 August 2023 by Ovidiu (talk | contribs) (Ovidiu moved page Go Runtime to Go Development and Execution Environment without leaving a redirect)
Jump to navigation Jump to search

Internal

Overview

Environment Variables

GOPATH

The GOPATH environment variable defines the workspace directory. Go tools assume that your code is under the path designated by GOPATH.

Compilation

Execution

cd $PROJECT_DIR
go run ./src/main/main.go

TODO

Deplete, merge and delete Go Concepts - Runtime