race

package
v3.39.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const Enabled = false

We can use this constant to determine whether or not the Go Race Detector is enabled. If the race detector is enabled, the `race` build tag is passed, so this file won't be compiled, where the other one (./enabled.go) will be. That is, if the race detector is enabled, the constant below will be false. Otherwise, it'll be true. It's kinda weird, but it's also how go itself does it: https://github.com/golang/go/blob/master/src/internal/race/race.go#L15

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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