-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
It looks like a timeout field was added and the rest of the code wasn't updated to account for it.
go version go1.5.3 darwin/amd64
github.com/anvie/port-scanner
../../../../anvie/port-scanner/PortScanner.go:27: too few values in struct initializer
../../../../anvie/port-scanner/PortScanner.go:50: cannot use h.timeout (type int) as type time.Duration in argument to net.DialTimeout
../../../../anvie/port-scanner/PortScanner.go:82: cannot use h.timeout (type int) as type time.Duration in argument to net.DialTimeout
../../../../anvie/port-scanner/PortScanner.go:87: cannot use conn (type net.Conn) as type *net.TCPConn in return argument: need type assertion
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels