Go Language Modularization: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
=Overview=
=Overview=
=<span id='Workspace'></span>Workspaces=
=<span id='Workspace'></span>Workspaces=
The standard workspace layout is:
<font size=-2>
<font size=-2>
  .  
  .  
Line 21: Line 22:
  └─ bin
  └─ bin
</font>
</font>
A workspace may contain multiple projects.


=<span id='Package'></span>Packages=
=<span id='Package'></span>Packages=
=<span id='Dependency'></span>Dependencies=
=<span id='Dependency'></span>Dependencies=

Revision as of 00:09, 15 August 2023

External

Internal

Overview

A standard organization of the files that are part of a project makes easier to share code with other people who also use the same standard. Go workspaces encourage such a standard.

TODO

Deplete, merge into this document and delete:

Overview

Workspaces

The standard workspace layout is:

. 
├─ src
├─ pkg
└─ bin

A workspace may contain multiple projects.

Packages

Dependencies