Assign type to TransferType constants

This commit is contained in:
Julien Laffaye 2022-08-17 19:43:45 -04:00
parent fa83b53d0e
commit 39592b91e4
No known key found for this signature in database
GPG Key ID: 890C3E5C169AE841

4
ftp.go
View File

@ -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