package maininfo

Import Path
	go.pact.im/x/maininfo (on go.dev)

Dependency Relation
	imports 2 packages, and imported by 0 packages

Involved Source Files buildinfo.go Package maininfo exposes main module’s build information. race.go race_disabled.go
Package-Level Functions (total 3, in which 2 are exported)
Path returns main module’s path. It returns an empty string if an executable was built without module support. If the main module is replaced by another module, it returns the path of that module.
Version returns main module’s version. It returns an empty string if an executable was built without module support. If the main module is replaced by another module, it returns the version of that module.
Package-Level Variables (total 3, none are exported)
Package-Level Constants (total 2, in which 1 are exported)
Race indicates whether the executable was built with race detector enabled.