iox

package
v0.1.0-dev.20260828041634 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package iox provides standalone I/O utilities independent of the op framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(err *error, closers ...io.Closer)

Close closes all provided closers, joining any errors into *err. Nil closers are safely skipped. Use with named returns:

defer iox.Close(&err, f, enc)

Parameters:

  • err: pointer to the named error return; close errors are joined into *err
  • closers: values to close; nil entries are skipped

Types

This section is empty.

Jump to

Keyboard shortcuts

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