Assign type to TransferType constants
This commit is contained in:
parent
fa83b53d0e
commit
39592b91e4
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
|
||||||
|
Loading…
Reference in New Issue
Block a user