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
|
||||
const (
|
||||
TransferTypeBinary = "I"
|
||||
TransferTypeASCII = "A"
|
||||
TransferTypeBinary = TransferType("I")
|
||||
TransferTypeASCII = TransferType("A")
|
||||
)
|
||||
|
||||
// Time format used by the MDTM and MFMT commands
|
||||
|
Loading…
x
Reference in New Issue
Block a user