From 72114be857365fba6e6583e297786280f24aa416 Mon Sep 17 00:00:00 2001 From: Augustin Grigorov Date: Fri, 27 Mar 2020 12:47:07 +0000 Subject: [PATCH] go: add go modules (#3935) * Add GO modules init command Add command for initialising a new GO module. More about go modules: https://blog.golang.org/using-go-modules Co-authored-by: Lucas Gabriel Schneider --- pages/common/go.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/go.md b/pages/common/go.md index 202b861f3a..95afd305b9 100644 --- a/pages/common/go.md +++ b/pages/common/go.md @@ -26,3 +26,7 @@ - Compile and install the current package: `go install` + +- Initialize a new module in the current directory: + +`go mod init {{module_name}}`