simple port scanner in go run go build main.go to build the binary to scan the ports ./main [hostname] [port-range] example: ./main localhost 65536