vardump

package
v3.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 4 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnableVarDump bool

EnableVarDump enables var dump for debugging optionally

Functions

func DumpVariables

func DumpVariables(data map[string]interface{}) string

DumpVariables writes the truncated dump of variables to a string in a formatted key-value manner.

The values are truncated to return 50 characters from start and end.

Types

This section is empty.

Jump to

Keyboard shortcuts

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