Documentation ¶
Index ¶
Constants ¶
View Source
const Enabled = false
Enabled is true if we were built with the "invariants" or "race" build tags.
View Source
const RaceEnabled = false
RaceEnabled is true if we were built with the "race" build tag.
Variables ¶
This section is empty.
Functions ¶
func SetFinalizer ¶
func SetFinalizer(obj, finalizer interface{})
SetFinalizer is a wrapper around runtime.SetFinalizer that is a no-op under race builds or if neither the invariants or tracing build tags are specified.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.