Documentation ¶
Index ¶
- func GroupReader[T any](r io.Reader, groupF func(string) bool, parseF func(string) (T, error)) (out [][]T, err error)
- func Head(r io.Reader, n int) (head bytes.Buffer, tail bytes.Buffer, err error)
- func HeadFunc(r io.Reader, splitf func([]byte) bool, skipMatch bool) (head bytes.Buffer, tail bytes.Buffer, err error)
- func LineReader(r io.Reader, f func(s string) error) (count int, err error)
- func Lines(r io.Reader) (out []string, err error)
- func URLReader(url string, f func(s string) error) (int, error)
- func UrlOpen(arg string) (io.ReadCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GroupReader ¶
func LineReader ¶
Call f for each line in io.Reader
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.