Documentation ¶
Index ¶
- func Btox(data []byte, sep string) string
- func IsDebuggingActive() bool
- func QualifiedTypeName(anything any) string
- func StructName() string
- func TypeName(anything any) string
- func VerbForType(value any, printVerb rune) rune
- func Xtob(hexString string) ([]byte, error)
- type DebugContentPrinter
- type DebugContents
- func (d *DebugContents) AddDebugContents(debuggable Debuggable, contents ...string)
- func (d *DebugContents) AddExtraPrinters(printers ...DebugContentPrinter)
- func (d *DebugContents) Format(s fmt.State, v rune)
- func (d *DebugContents) LeafNameOrFallback() string
- func (d *DebugContents) PrintDebugContents(indent int, file io.Writer, _ids []uintptr)
- func (d *DebugContents) StructHeader() []byte
- type DebugPrinter
- type Debuggable
- type DefaultRFormatter
- type LoggingFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDebuggingActive ¶
func IsDebuggingActive() bool
func QualifiedTypeName ¶
func StructName ¶
func StructName() string
func VerbForType ¶
Types ¶
type DebugContentPrinter ¶
type DebugContents ¶
type DebugContents struct {
// contains filtered or unexported fields
}
func NewDebugContents ¶
func NewDebugContents(debuggable Debuggable, contents ...string) *DebugContents
func (*DebugContents) AddDebugContents ¶
func (d *DebugContents) AddDebugContents(debuggable Debuggable, contents ...string)
func (*DebugContents) AddExtraPrinters ¶
func (d *DebugContents) AddExtraPrinters(printers ...DebugContentPrinter)
func (*DebugContents) LeafNameOrFallback ¶
func (d *DebugContents) LeafNameOrFallback() string
func (*DebugContents) PrintDebugContents ¶
func (d *DebugContents) PrintDebugContents(indent int, file io.Writer, _ids []uintptr)
func (*DebugContents) StructHeader ¶
func (d *DebugContents) StructHeader() []byte
type DebugPrinter ¶
func CreateDebugPrinter ¶
func CreateDebugPrinter() DebugPrinter
type Debuggable ¶
type DefaultRFormatter ¶
type DefaultRFormatter struct {
// contains filtered or unexported fields
}
func NewDefaultRFormatter ¶
func NewDefaultRFormatter(extraPrinters ...DebugContentPrinter) *DefaultRFormatter
func (*DefaultRFormatter) String ¶
func (d *DefaultRFormatter) String() string
func (*DefaultRFormatter) StructHeader ¶
func (d *DefaultRFormatter) StructHeader() []byte
Click to show internal directories.
Click to hide internal directories.