]> xenbits.xensource.com Git - people/dariof/xen.git/commitdiff
golang: Add a minimum go version to go.mod
authorGeorge Dunlap <george.dunlap@citrix.com>
Tue, 26 May 2020 11:01:26 +0000 (12:01 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Tue, 26 May 2020 11:01:26 +0000 (12:01 +0100)
`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>
tools/golang/xenlight/go.mod

index 926474d929516279a4f2e4267393197f84048cd5..7dfbd758d1a60c347bb1e2be5b48b59847e9760c 100644 (file)
@@ -1 +1,3 @@
 module xenbits.xenproject.org/git-http/xen.git/tools/golang/xenlight
+
+go 1.11