git » kxd » commit e5b1abe

Add Go modules information

author Alberto Bertogli
2021-10-25 11:26:02 UTC
committer Alberto Bertogli
2021-10-25 12:15:22 UTC
parent 7403299c253f847a5ea194cda2fe1bfdb170137f

Add Go modules information

Newer Go compilers need a main module to exist in order to build
binaries, so this patch adds it.

Since there are no external dependencies, there is no `go.sum` file.

README.md +1 -1
go.mod +3 -0

diff --git a/README.md b/README.md
index 3f61e13..bcc2e5a 100644
--- a/README.md
+++ b/README.md
@@ -72,7 +72,7 @@ assumption that the server's host is secure and trusted.
 
 There are no runtime dependencies for the kxd and kxc binaries.
 
-Building requires Go 1.11.
+Building requires Go 1.15.
 
 The configuration helper scripts (`create-kxd-config`, `kxc-add-key`, etc.)
 depend on: `bash` and core utilities (`mkdir`, `dd`, etc.).
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..fcdfd19
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,3 @@
+module blitiri.com.ar/go/kxd
+
+go 1.15