ioutil

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Printf

func Printf(out io.Writer, format string, args ...any) int

Printf is like Fprintf but panics on error.

func Println

func Println(out io.Writer, txt string) int

Println is like Fprintln but panics on error.

func WriteAllTo

func WriteAllTo(out io.Writer, wts ...io.WriterTo) (tn int64, err error)

WriteAllTo calls WriteTo on all elements of the WriterTo slice and returns the total number of bytes written.

Types

type WriterTos

type WriterTos interface {
	WriterTos() []io.WriterTo
}

WriterTos implements something that can be represented as a list of io.WriterTo.

Jump to

Keyboard shortcuts

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