invariants

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

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