15 lines
311 B
Go
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)
|
|
}
|