2025-10-01 06:46:10 -04:00

15 lines
311 B
Go

package main
import (
"fmt"
"sync"
"time"
)
func ProsesSertifikasi(userID int, wg *sync.WaitGroup) {
defer wg.Done()
fmt.Printf("User %d: mulai proses sertifikasi...\n", userID)
time.Sleep(200 * time.Millisecond) // simulasi proses
fmt.Printf("User %d: sertifikasi selesai!\n", userID)
}