Updating the Port Scanning Functionality
Let's update the port scanning functionality now.
We'll cover the following...
Updating the cmd/scan.go
file
We edit the import
section and add the io
package to use the io.Writer
interface, the
os
package to use the os.Stdout
, and our scan
package for the port scan functionality:
Access this course and 1400+ top-rated courses and projects.