Assign type to TransferType constants
This commit is contained in:
4
ftp.go
4
ftp.go
@@ -33,8 +33,8 @@ type TransferType string
|
|||||||
|
|
||||||
// The different transfer types
|
// The different transfer types
|
||||||
const (
|
const (
|
||||||
TransferTypeBinary = "I"
|
TransferTypeBinary = TransferType("I")
|
||||||
TransferTypeASCII = "A"
|
TransferTypeASCII = TransferType("A")
|
||||||
)
|
)
|
||||||
|
|
||||||
// Time format used by the MDTM and MFMT commands
|
// Time format used by the MDTM and MFMT commands
|
||||||
|
|||||||
Reference in New Issue
Block a user