Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
loop io.Reader for golang
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
README.md
dep-rev.json
gdf.json
loop.go
loop_test.go

README.md

loop

loop io.Reader for golang

Build Status

Usage

package main

import (
    "fmt"
    "gopkg.in/metakeule/loop.v3"
)

func main() {
    l := loop.New([]byte("abc..."))

    // ad infinitum abc...abc...abc...
    for {
        b := make([]byte, 2)
        l.Read(b)
        fmt.Print(string(b))
    }
}
Something went wrong with that request. Please try again.