Go Modules: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:
=Publishing Modules=
=Publishing Modules=
=Consuming Modules=
=Consuming Modules=
=<tt>go.mod</code>=
<code>go.mod</code> declares the module path, which is the [Go_Packages#Import_Path|import path]] prefix for all [[Go_Packages#Overview|packages]] within the module.

Revision as of 19:36, 7 September 2023

Internal

TO PROCESS

To process:

Overview

A module is a collection of related packages with built-in dependencies and versioning, that are released together.

Declaring Modules

Building Modules

Publishing Modules

Consuming Modules

go.mod

go.mod declares the module path, which is the [Go_Packages#Import_Path|import path]] prefix for all packages within the module.