This commit is contained in:
2018-11-04 15:58:15 +01:00
commit f956bcee28
1178 changed files with 584552 additions and 0 deletions

1
vendor/github.com/bradfitz/iter/README.txt generated vendored Normal file
View File

@@ -0,0 +1 @@
See http://godoc.org/github.com/bradfitz/iter

17
vendor/github.com/bradfitz/iter/iter.go generated vendored Normal file
View File

@@ -0,0 +1,17 @@
// Package iter provides a syntantically different way to iterate over integers. That's it.
package iter
// N returns a slice of n 0-sized elements, suitable for ranging over.
//
// For example:
//
// for i := range iter.N(10) {
// fmt.Println(i)
// }
//
// ... will print 0 to 9, inclusive.
//
// It does not cause any allocations.
func N(n int) []struct{} {
return make([]struct{}, n)
}