Skip to content

Instantly share code, notes, and snippets.

View xjunior's full-sized avatar
🏠
Working from home

Carlos Palhares xjunior

🏠
Working from home
View GitHub Profile
package main
import (
"fmt"
"time"
"sync"
)
func timedPrint(number int64, group *sync.WaitGroup) {
time.Sleep(time.Duration(number) * time.Millisecond)