Source File
func.go
Belonging Package
go.pact.im/x/extraio
package extraio
// ReaderFunc is an adapter to allow the use of ordinary function as io.Reader.
// If f is a function with appropriate signature, ReaderFunc(f) is an io.Reader
// that calls f.
type ReaderFunc func(p []byte) (n int, err error)
// Read implements the io.Reader interface. It calls f(p).
func ( ReaderFunc) ( []byte) ( int, error) {
return ()
}
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)