areader

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package areader implements io.Reader with a type that emits an infinite stream of the ASCII character 'A'. Adapted from tour.golang.org/methods/22.

Level: beginner Topics: interfaces, io.Reader

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A added in v0.25.0

type A struct{}

func (A) Read added in v0.25.0

func (A) Read(p []byte) (int, error)

Directories

Path Synopsis
Areader reads three bytes from A into a slice.
Areader reads three bytes from A into a slice.

Jump to

Keyboard shortcuts

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