package main import ( "fmt" "sync" "time" "morozovad.ddns.net/lnd212/go-roflocopter/roflcopter" ) var wg sync.WaitGroup func player(){ roflcopter.Sound(&wg) wg.Wait() player() } func main() { fmt.Println("HW") roflcopter.Sound(&wg) go player() time.Sleep(15*time.Second) }