helpers

package
v0.0.0-...-3d7a921 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserGroupAllPerm = 0770
)

Variables

This section is empty.

Functions

func DeferIgnoreError

func DeferIgnoreError(f func() error)

DeferIgnoreError is a helper function to ignore errors returned by functions called with defer.

func IgnoreError

func IgnoreError(err error)

IgnoreError is a helper function to deal with errors.

func PrettyString

func PrettyString(v interface{}) string

PrettyString returns a prettily formatted string of the object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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