dbg

package
v0.0.0-...-e659864 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fmt

func Fmt(separator string, val any) string

func Fmts

func Fmts(val any) (result []string)

Types

type Map

type Map map[string]any

func (Map) AddOffset

func (dbg Map) AddOffset(name string, stream io.Seeker) (err error)

func (Map) AddOffsetSeek

func (dbg Map) AddOffsetSeek(name string, stream io.Seeker, offset int64, whence int) (err error)

func (Map) AddSize

func (dbg Map) AddSize(name string, keyBegin string, keyEnd string) (err error)

func (Map) Dump

func (dbg Map) Dump(keysPrefix string, dumpPrefix string, callback func(string, any, string, string))

func (Map) Keys

func (dbg Map) Keys(keysPrefix string) (out []string)

func (Map) KeysMaxLen

func (dbg Map) KeysMaxLen(keysPrefix string) (length int)

KeysMaxLen return longest key with given prefix

func (Map) ValsTypeMaxLen

func (dbg Map) ValsTypeMaxLen(keysPrefix string) (length int)

Jump to

Keyboard shortcuts

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