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