From 31af6cedd9e9cc8e1d70ca7e8ac6fad346d0b192 Mon Sep 17 00:00:00 2001 From: George Dunlap Date: Tue, 26 May 2020 12:01:26 +0100 Subject: [PATCH] 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 --- 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 -- 2.39.5