closers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: MIT Imports: 2 Imported by: 6

Documentation

Overview

Package closers contains utilities for dealing with io.Closer implementations

Index

Constants

This section is empty.

Variables

View Source
var Noop io.Closer = &noopCloser{}

Noop is an io.Closer implementation that does nothing.

Functions

func Close

func Close(c io.Closer)

Close the given closer. If a non-nil error is returned, it is logged.

Types

This section is empty.

Jump to

Keyboard shortcuts

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