trace

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteTime

func ExecuteTime(title string, fn func())
Example
ExecuteTime("step 1.", func() {
	time.Sleep(200 * time.Millisecond)
})

ExecuteTime("step 2.", func() {
	time.Sleep(300 * time.Millisecond)
})

ExecuteTime("step 3.", func() {
	time.Sleep(400 * time.Millisecond)
})

Types

This section is empty.

Jump to

Keyboard shortcuts

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