utils

package
v0.0.0-...-a70f80b Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(c io.Closer)

func CloseAndLogErr

func CloseAndLogErr(c io.Closer)

func HandleError

func HandleError(err *error)

func IgnoreButLogErr

func IgnoreButLogErr(err error)

func IgnoreButLogErrIOCopy

func IgnoreButLogErrIOCopy(dst io.Writer, src io.Reader)

func IgnoreErr

func IgnoreErr(_ error)

func IgnoreErrIOCopy

func IgnoreErrIOCopy(dst io.Writer, src io.Reader)

func LogErrors

func LogErrors()

func PanicOnError

func PanicOnError(err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳