drive, googlecloudstorage: disallow on go1.8 due to dependent library changes

golang.org/x/oauth2/google no longer builds on go1.8
This commit is contained in:
Nick Craig-Wood
2018-11-26 14:10:33 +00:00
parent e56c6402a7
commit 58f7141c96
8 changed files with 28 additions and 0 deletions
+3
View File
@@ -1,4 +1,7 @@
// Package drive interfaces with the Google Drive object storage system
// +build go1.9
package drive
// FIXME need to deal with some corner cases
+2
View File
@@ -1,3 +1,5 @@
// +build go1.9
package drive
import (
+3
View File
@@ -1,4 +1,7 @@
// Test Drive filesystem interface
// +build go1.9
package drive
import (
+6
View File
@@ -0,0 +1,6 @@
// Build for unsupported platforms to stop go complaining
// about "no buildable Go source files "
// +build !go1.9
package drive
+2
View File
@@ -8,6 +8,8 @@
//
// This contains code adapted from google.golang.org/api (C) the GO AUTHORS
// +build go1.9
package drive
import (
@@ -1,4 +1,7 @@
// Package googlecloudstorage provides an interface to Google Cloud Storage
// +build go1.9
package googlecloudstorage
/*
@@ -1,4 +1,7 @@
// Test GoogleCloudStorage filesystem interface
// +build go1.9
package googlecloudstorage_test
import (
@@ -0,0 +1,6 @@
// Build for unsupported platforms to stop go complaining
// about "no buildable Go source files "
// +build !go1.9
package googlecloudstorage