From: George Dunlap Date: Tue, 26 May 2020 11:01:26 +0000 (+0100) Subject: golang: Add a minimum go version to go.mod X-Git-Tag: temptemp~147 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=31af6cedd9e9cc8e1d70ca7e8ac6fad346d0b192;p=people%2Fhx242%2Fxen.git 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 Reviewed-by: Nick Rosbrook --- 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