Skip to content

Instantly share code, notes, and snippets.

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

Eka Putra ekaputra07

🏠
Working from home
View GitHub Profile
@ekaputra07
ekaputra07 / worker-pool.go
Created January 10, 2019 11:32 — forked from harlow/worker-pool.go
Worker pool to control concurrency and collect results
package main
import (
"fmt"
"sync"
"time"
)
const concurrency = 3
@ekaputra07
ekaputra07 / golang_job_queue.md
Created January 10, 2019 11:32 — forked from harlow/golang_job_queue.md
Job queues in Golang