From 003113011142a70fc6e47fd2e23effd665322104 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 27 Jun 2020 16:11:30 +0100 Subject: [PATCH] serve ftp: don't compile on < go1.13 after dependency update --- cmd/serve/ftp/ftp.go | 2 +- cmd/serve/ftp/ftp_test.go | 2 +- cmd/serve/ftp/ftp_unsupported.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/serve/ftp/ftp.go b/cmd/serve/ftp/ftp.go index a925917a7..b6b038d04 100644 --- a/cmd/serve/ftp/ftp.go +++ b/cmd/serve/ftp/ftp.go @@ -1,6 +1,6 @@ // Package ftp implements an FTP server for rclone -//+build !plan9 +//+build !plan9,go1.13 package ftp diff --git a/cmd/serve/ftp/ftp_test.go b/cmd/serve/ftp/ftp_test.go index 215f692d0..1d5698ea8 100644 --- a/cmd/serve/ftp/ftp_test.go +++ b/cmd/serve/ftp/ftp_test.go @@ -3,7 +3,7 @@ // // We skip tests on platforms with troublesome character mappings -//+build !windows,!darwin,!plan9 +//+build !windows,!darwin,!plan9,go1.13 package ftp diff --git a/cmd/serve/ftp/ftp_unsupported.go b/cmd/serve/ftp/ftp_unsupported.go index 76b4b2ecf..9cda63eb7 100644 --- a/cmd/serve/ftp/ftp_unsupported.go +++ b/cmd/serve/ftp/ftp_unsupported.go @@ -1,7 +1,7 @@ // Build for unsupported platforms to stop go complaining // about "no buildable Go source files " -// +build plan9 +// +build plan9 !go1.13 package ftp