Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Omar Khalid 3m1o

🏠
Working from home
View GitHub Profile
@montanaflynn
montanaflynn / pget.go
Last active Sep 1, 2021
Bounded Parallel Get Requests in Golang
View pget.go
package main
import (
"fmt"
"net/http"
"sort"
"time"
)
// a struct to hold the result from each request including an index