Require go1.7 for compilation #2154

* Update the travis tests to exclude go1.6
  * Update the compile check to require go1.7+
  * Update misc go1.6 workarounds marked in the source
This commit is contained in:
Nick Craig-Wood 2018-04-06 19:04:31 +01:00
parent 32e02bd367
commit 67023f0040
4 changed files with 8 additions and 9 deletions

View file

@ -1,7 +1,7 @@
//+build !go1.6
//+build !go1.7
package fs
// Upgrade to Go version 1.6 to compile rclone - latest stable go
// Upgrade to Go version 1.7 to compile rclone - latest stable go
// compiler recommended.
func init() { Go_version_1_6_required_for_compilation() }
func init() { Go_version_1_7_required_for_compilation() }