github.com/goplus/gossa@v0.3.25/pkg/errors/go116_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package errors 6 7 import ( 8 q "errors" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.Package{ 17 Name: "errors", 18 Path: "errors", 19 Deps: map[string]string{ 20 "internal/reflectlite": "reflectlite", 21 }, 22 Interfaces: map[string]reflect.Type{}, 23 NamedTypes: map[string]gossa.NamedType{}, 24 AliasTypes: map[string]reflect.Type{}, 25 Vars: map[string]reflect.Value{}, 26 Funcs: map[string]reflect.Value{ 27 "As": reflect.ValueOf(q.As), 28 "Is": reflect.ValueOf(q.Is), 29 "New": reflect.ValueOf(q.New), 30 "Unwrap": reflect.ValueOf(q.Unwrap), 31 }, 32 TypedConsts: map[string]gossa.TypedConst{}, 33 UntypedConsts: map[string]gossa.UntypedConst{}, 34 }) 35 }