Skip to content

Instantly share code, notes, and snippets.

View chrisgoffinet's full-sized avatar
💭
Available

Chris Goffinet chrisgoffinet

💭
Available
View GitHub Profile
package main
import (
"fmt"
"io/ioutil"
"net/http"
"time"
)
func main() {
@chrisgoffinet
chrisgoffinet / ratelimit.go
Created August 16, 2018 16:17
Rate Limit
package main
import (
"context"
"fmt"
"time"
"golang.org/x/time/rate"
)
package main
import (
"fmt"
"sync"
"time"
)
func main() {
var count = 100