Dynamically get free ports
ports := dort.Get(3)
// ports is something like []int{10000, 10001, 10002}
Or
ports, err := dort.GetWithErr(3)
if err != nil {
// handle err
}
// use ports...
Or
ports := dort.GetS(3)
// ports is something like []string{"10000", "10001", "10002"}
MIT