util

package
v0.0.0-...-cf2c34e Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(v interface{}, tips ...string)

Dump print to standard out the value that is passed as the argument with indentation. Pointers are dereferenced.

func FatalIfErr

func FatalIfErr(err error, tip ...string)

func IsDirectory

func IsDirectory(name string) bool

IsDirectory reports whether the named file is a directory.

func PanicIfErr

func PanicIfErr(err error, tip ...string)

func Sdump

func Sdump(v interface{}, name string) string

Sdump return the value that is passed as the argument with indentation. Pointers are dereferenced.

Types

This section is empty.

Jump to

Keyboard shortcuts

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