reader

package
v0.0.0-...-234771b Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package reader provides utils around io.Reader.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

func Index(r io.Reader, toFind string) (int, error)

Index returns the index of the first occurrence of toFind in r. It returns -1 if toFind is not present in r. It returns an error if reading from r other than io.EOF returns an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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