diff mbox series

[1/5] golang: Add a minimum go version to go.mod

Message ID 20200522161240.3748320-2-george.dunlap@citrix.com (mailing list archive)
State New, archived
Headers show
Series Golang build fixes | expand

Commit Message

George Dunlap May 22, 2020, 4:12 p.m. UTC
`go build` wants to add the current go version to go.mod as the
minimum every time we run `make` in the directory.  Add 1.11 (the
earliest Go version that supports modules) there to make it happy.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
---
CC: Nick Rosbrook <rosbrookn@ainfosec.com>
---
 tools/golang/xenlight/go.mod | 2 ++
 1 file changed, 2 insertions(+)

Comments

Nick Rosbrook May 23, 2020, 4:29 p.m. UTC | #1
> `go build` wants to add the current go version to go.mod as the
> minimum every time we run `make` in the directory.  Add 1.11 (the
> earliest Go version that supports modules) there to make it happy.
>
> Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Nick Rosbrook <rosbrookn@ainfosec.com>
diff mbox series

Patch

diff --git a/tools/golang/xenlight/go.mod b/tools/golang/xenlight/go.mod
index 926474d929..7dfbd758d1 100644
--- a/tools/golang/xenlight/go.mod
+++ b/tools/golang/xenlight/go.mod
@@ -1 +1,3 @@ 
 module xenbits.xenproject.org/git-http/xen.git/tools/golang/xenlight
+
+go 1.11