remove number for source

This commit is contained in:
Mark McGranaghan
2012-10-07 02:00:54 -04:00
parent beaad143c4
commit 2c4dea2b8e
134 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// ## Rate Limiting
package main
import "time"
import "fmt"
func main() {
throttle := time.Tick(time.Millisecond * 200)
for {
<-throttle
go fmt.Println("rate-limited action")
}
}
// todo: credit code.google.com/p/go-wiki/wiki/RateLimiting