Go Development and Execution Environment: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:


=Building a Linux Image on Mac=
=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 [[Go.mod#Using_Local_Module_Code|local unpublished module code]]) into the container, and build in container.


=TODO=
=TODO=
<font color=darkkhaki>Deplete, merge and delete [[Go Concepts - Runtime]]</font>
<font color=darkkhaki>Deplete, merge and delete [[Go Concepts - Runtime]]</font>

Revision as of 01:16, 3 August 2024

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