qingstor: Only support on go1.7+

This commit is contained in:
Nick Craig-Wood 2018-01-16 16:41:52 +00:00
parent 1848e26183
commit 4b0c5f79b5
5 changed files with 5 additions and 5 deletions

View file

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

View file

@ -3,7 +3,7 @@
// Automatically generated - DO NOT EDIT
// Regenerate with: make gen_tests
// +build !plan9
// +build !plan9,go1.7
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
// +build plan9 !go1.7
package qingstor

View file

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

View file

@ -162,7 +162,7 @@ func main() {
generateTestProgram(t, fns, "Sftp")
generateTestProgram(t, fns, "FTP")
generateTestProgram(t, fns, "Box")
generateTestProgram(t, fns, "QingStor", buildConstraint("!plan9"))
generateTestProgram(t, fns, "QingStor", buildConstraint("!plan9,go1.7"))
generateTestProgram(t, fns, "AzureBlob", buildConstraint("go1.7"))
generateTestProgram(t, fns, "Pcloud")
generateTestProgram(t, fns, "Webdav")