Test if port is opened in Golang

Sometime lYou need to know if is the concrete port is opened.

Build

go build

Use

./isopened pepa.holla.cz 443 // true
./isopened p1233.holla.cz 80 // false

// or
go run main.go pepa.holla.cz 443 // true

Public Golang lib

I have published my Golang library: https://github.com/podanypepa/f

Publikováno v Go