Documentation ¶
Overview ¶
Package fieldtrack provides access to information in the current binary that tracks use of struct fields. This information is computed at build time for struct fields marked with the `go:"track"` tag. See http://go/fieldtrack for background.
To test run:
GOEXPERIMENT=fieldtrack ./make.bash go test rsc.io/tmp/fieldtrack -ldflags=-k=rsc.io/tmp/fieldtrack.tracked
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Enabled ¶
func Enabled() bool
Enabled reports whether field tracking was enabled in the compiler when compiling the current binary.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.