Go Project: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:
=Project Layout=
=Project Layout=


This layout is inspired by {{External|https://github.com/golang-standards/project-layout}}
This layout is inspired by: {{External|https://github.com/golang-standards/project-layout}}


<font size=-2>
<font size=-2>


  .
  .
├── Makefile
  ├── README.md
  ├── README.md
  ├── go.mod
  ├── go.mod
  └── go.sum
  ├── go.sum
└── .gitignore
</font>
</font>



Revision as of 18:49, 14 December 2023

External

Internal

Overview

This page collects recommendation and facts about Go projects and it was mainly written with the assumption that one project lives in its own repository and contains a single module, as described in Packages, Modules, Projects and Repositories. Of course project can contain multiple modules, but that is not recommended.

Project Layout

This layout is inspired by:

https://github.com/golang-standards/project-layout

.
├── Makefile
├── README.md
├── go.mod
├── go.sum
└── .gitignore

TODO

Integrate Vendoring.