serve webdav: disallow on go1.8 due to dependent library changes

golang.org/x/net/webdav no longer builds with go1.8
This commit is contained in:
Nick Craig-Wood
2018-11-26 14:10:33 +00:00
parent a6c28a5faa
commit d0eb8ddc30
4 changed files with 17 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
// Build for webdav for unsupported platforms to stop go complaining
// about "no buildable Go source files "
// +build !go1.9
package webdav
import "github.com/spf13/cobra"
// Command definition is nil to show not implemented
var Command *cobra.Command = nil