I saw the below setup in a code base today. Does the Sleep() function have any effect? I suppose it's there to guarantee that serverA is running before serverB starts, but since execution of both may be deferred until later, this is not really guaranteed, right?
func main() {
go util.Execute("run", serverA)
time.Sleep(time.Millisecond * 500)
go util.Execute("run", serverB)
for {
log.Println("running")
time.Sleep(time.Second * 30)
}
}