debug

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply added in v0.1.3

func Apply(f func())

Apply calls a function if it is not nil.

Parameters:

  • f: The function to call.

Returns:

  • error: An error if there is any.

func DebugPrint

func DebugPrint(title string, f func() []string)

DebugPrint prints a debug message.

Parameters:

  • title: The title of the debug message.
  • f: The function to print the debug message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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