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,7 +1,4 @@
// Package azureblob provides an interface to the Microsoft Azure blob object storage system
// +build go1.7
package azureblob
import (

View file

@ -2,9 +2,6 @@
//
// Automatically generated - DO NOT EDIT
// Regenerate with: make gen_tests
// +build go1.7
package azureblob_test
import (

View file

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

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

View file

@ -1,7 +1,4 @@
// Package dropbox provides an interface to Dropbox object storage
// +build go1.7
package dropbox
// FIXME dropbox for business would be quite easy to add

View file

@ -2,9 +2,6 @@
//
// Automatically generated - DO NOT EDIT
// Regenerate with: make gen_tests
// +build go1.7
package dropbox_test
import (

View file

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

View file

@ -2,9 +2,6 @@
//
// It treats HTML pages served from the endpoint as directory
// listings, and includes any links found as files.
// +build go1.7
package http
import (

View file

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

View file

@ -1,7 +1,7 @@
// Package qingstor provides an interface to QingStor object storage
// Home: https://www.qingcloud.com/
// +build !plan9,go1.7
// +build !plan9
package qingstor

View file

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

View file

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

View file

@ -1,6 +1,6 @@
// Upload object to QingStor
// +build !plan9,go1.7
// +build !plan9
package qingstor