Add a canary file to suggest Go 1.10 is required

Closes #22
This commit is contained in:
Filippo Valsorda
2018-07-03 17:50:42 -04:00
parent 941dfcf755
commit bf29b706fc

8
go110min.go Normal file
View File

@@ -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