Remove builds conditional on go1.7 since that is now guaranteed #2154

Old fallback code was deleted and the go1.7 style code inlined where
appropriate.
This commit is contained in:
Nick Craig-Wood 2018-04-06 20:33:51 +01:00
parent e5be471ce0
commit be54fd8f70
35 changed files with 45 additions and 157 deletions

View file

@ -1,4 +1,4 @@
// +build !plan9,go1.7
// +build !plan9
package cache

View file

@ -1,4 +1,4 @@
// +build !plan9,go1.7
// +build !plan9
package cache_test

View file

@ -1,4 +1,4 @@
// +build !plan9,!windows,go1.7
// +build !plan9,!windows
package cache_test

View file

@ -1,4 +1,4 @@
// +build windows,go1.7
// +build windows
package cache_test

View file

@ -3,7 +3,7 @@
// Automatically generated - DO NOT EDIT
// Regenerate with: make gen_tests
// +build !plan9,go1.7
// +build !plan9
package cache_test

View file

@ -1,6 +1,6 @@
// Build for cache for unsupported platforms to stop go complaining
// about "no buildable Go source files "
// +build plan9 !go1.7
// +build plan9
package cache

View file

@ -1,4 +1,4 @@
// +build !plan9,go1.7
// +build !plan9
package cache

View file

@ -1,4 +1,4 @@
// +build !plan9,go1.7
// +build !plan9
package cache

View file

@ -1,4 +1,4 @@
// +build !plan9,go1.7
// +build !plan9
package cache

View file

@ -1,4 +1,4 @@
// +build !plan9,go1.7
// +build !plan9
package cache

View file

@ -1,4 +1,4 @@
// +build !plan9,go1.7
// +build !plan9
package cache

View file

@ -1,4 +1,4 @@
// +build !plan9,go1.7
// +build !plan9
package cache