From 39592b91e4d6bca360fcc2ab38aad6bbfab5de15 Mon Sep 17 00:00:00 2001 From: Julien Laffaye Date: Wed, 17 Aug 2022 19:43:45 -0400 Subject: [PATCH] Assign type to TransferType constants --- ftp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ftp.go b/ftp.go index 7ad3ca1..89f5197 100644 --- a/ftp.go +++ b/ftp.go @@ -33,8 +33,8 @@ type TransferType string // The different transfer types const ( - TransferTypeBinary = "I" - TransferTypeASCII = "A" + TransferTypeBinary = TransferType("I") + TransferTypeASCII = TransferType("A") ) // Time format used by the MDTM and MFMT commands