[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] golang: Add a minimum go version to go.mod



commit 31af6cedd9e9cc8e1d70ca7e8ac6fad346d0b192
Author:     George Dunlap <george.dunlap@xxxxxxxxxx>
AuthorDate: Tue May 26 12:01:26 2020 +0100
Commit:     George Dunlap <george.dunlap@xxxxxxxxxx>
CommitDate: Tue May 26 12:01:26 2020 +0100

    golang: Add a minimum go version to go.mod
    
    `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@xxxxxxxxxx>
    Reviewed-by: Nick Rosbrook <rosbrookn@xxxxxxxxxxxx>
---
 tools/golang/xenlight/go.mod | 2 ++
 1 file changed, 2 insertions(+)

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
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.