Documentation ¶
Overview ¶
Code generated by gensyscall. DO NOT EDIT.
Code generated by gensyscall. DO NOT EDIT.
Index ¶
Constants ¶
View Source
const ( PackageKindTestBinary = "testbinary" PackageKindBase = "base" PackageKindForTest = "fortest" PackageKindTests = "tests" )
Variables ¶
View Source
var PublicExportHacks = map[string][]string{
"encoding/binary": {"littleEndian"},
"internal/poll": {"errNetClosing"},
}
View Source
var TranslatedRuntimePackages = []string{
hooksGo123Package,
reflectPackage,
simulationPackage,
testingPackage,
}
Functions ¶
func RewriteSelector ¶
RewriteSelector rewrites internal/bytealg.Equal to InternalBytealg_Equal
func Translate ¶
func Translate(input *TranslateInput) (*gosimtool.TranslateOutput, error)
Types ¶
type GlobalInfo ¶
type GlobalInfo struct {
ByPackage map[string]*PackageGlobalInfo
}
type PackageGlobalInfo ¶
type TranslateInput ¶
type TranslateInput struct { Packages []string Cfg gosimtool.BuildConfig }
type TranslatePackageResult ¶
type TranslatePackageResult struct { PackageName string PackagePath string CollectedTests []packageSelector GlobalInfo *PackageGlobalInfo TranslatedFiles map[string][]byte }
exported for gob (?)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.