ioutil

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloseFunc added in v1.6.0

type CloseFunc func() error

type Closer

type Closer[T any] struct {
	Value     T
	CloseFunc CloseFunc
}

func NewCloser

func NewCloser[T any](value T, closeFunc CloseFunc) *Closer[T]

func NewNoopCloser added in v1.6.0

func NewNoopCloser[T any](value T) *Closer[T]

func (*Closer[T]) Close

func (c *Closer[T]) Close() error

Jump to

Keyboard shortcuts

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