io2

package
v0.0.0-...-11eb462 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

io2 is an extension of the io module, and mostly contains occasionally useful io.Reader implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Repeated

func Repeated[T ~string | ~[]byte](s T, n int) io.Reader

Repeated yields the provided string n number of times.

Types

type ReadAtSeeker

type ReadAtSeeker interface {
	io.ReaderAt
	io.Seeker
}

ReadAtSeeker is an interface which groups together io.ReaderAt and io.Seeker.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL