Go Development and Execution Environment

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

The go Tool

go is a tool used to manage source code. More details:

go

Environment Variables

Go Environment Variables

Compilation

go build

Execution

go run

Building a Linux Image on Mac

Run a Linux container based on a Go build image, mount the source directory (or the source directory hierarchy if you are using local unpublished module code) into the container, and build in container.

TODO

Deplete, merge and delete Go Concepts - Runtime