From bf29b706fc6b43ec1b3dbaeaebb006d38bb2b78f Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Tue, 3 Jul 2018 17:50:42 -0400 Subject: [PATCH] Add a canary file to suggest Go 1.10 is required Closes #22 --- go110min.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 go110min.go diff --git a/go110min.go b/go110min.go new file mode 100644 index 0000000..cf849e6 --- /dev/null +++ b/go110min.go @@ -0,0 +1,8 @@ +//+build !go1.10 + +package main + +// This file is here to give a better hint in the error message +// when this project is built with a too old version of Go. + +var _ = ThisProjectRequiresGo1ยท10OrHigher