Documentation
¶
Overview ¶
Package trace provides conditional runtime tracing support controlled by build tags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithRegion ¶
WithRegion calls fn directly without tracing when the tracing build tag is disabled.
Types ¶
type Region ¶
type Region struct{}
Region is a no-op implementation of a tracing region.
func StartRegion ¶
StartRegion returns a no-op Region when the tracing build tag is disabled.
Click to show internal directories.
Click to hide internal directories.