We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b1bfc5 commit dcdcde2Copy full SHA for dcdcde2
1 file changed
wall-clock/wall_clock.go
@@ -34,7 +34,7 @@ func NewWallclock() *Wallclock {
34
35
// Usage:
36
// at the top of any closure:
37
-// defer debug.NewWallclock().LogDuration()V
+// defer debug.NewWallclock().LogDuration()
38
// this will slog duration_ms during the defer (exit from closure) to measure wallclock time consumed by the closure
39
// the source file/line of the caller will be displayed, if possible, rather than of this function.
40
// to isolate to a subpart of a function, just open a new closure:
0 commit comments