github.com/goplus/gossa@v0.3.25/pkg/testing/quick/go118_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.18 4 // +build go1.18 5 6 package quick 7 8 import ( 9 q "testing/quick" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "quick", 19 Path: "testing/quick", 20 Deps: map[string]string{ 21 "flag": "flag", 22 "fmt": "fmt", 23 "math": "math", 24 "math/rand": "rand", 25 "reflect": "reflect", 26 "strings": "strings", 27 "time": "time", 28 }, 29 Interfaces: map[string]reflect.Type{ 30 "Generator": reflect.TypeOf((*q.Generator)(nil)).Elem(), 31 }, 32 NamedTypes: map[string]gossa.NamedType{ 33 "CheckEqualError": {reflect.TypeOf((*q.CheckEqualError)(nil)).Elem(), "", "Error"}, 34 "CheckError": {reflect.TypeOf((*q.CheckError)(nil)).Elem(), "", "Error"}, 35 "Config": {reflect.TypeOf((*q.Config)(nil)).Elem(), "", "getMaxCount,getRand"}, 36 "SetupError": {reflect.TypeOf((*q.SetupError)(nil)).Elem(), "Error", ""}, 37 }, 38 AliasTypes: map[string]reflect.Type{}, 39 Vars: map[string]reflect.Value{}, 40 Funcs: map[string]reflect.Value{ 41 "Check": reflect.ValueOf(q.Check), 42 "CheckEqual": reflect.ValueOf(q.CheckEqual), 43 "Value": reflect.ValueOf(q.Value), 44 }, 45 TypedConsts: map[string]gossa.TypedConst{}, 46 UntypedConsts: map[string]gossa.UntypedConst{}, 47 }) 48 }