github.com/goplus/igop@v0.25.0/pkg/encoding/hex/go120_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.20 && !go1.21
     4  // +build go1.20,!go1.21
     5  
     6  package hex
     7  
     8  import (
     9  	q "encoding/hex"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "hex",
    19  		Path: "encoding/hex",
    20  		Deps: map[string]string{
    21  			"errors":  "errors",
    22  			"fmt":     "fmt",
    23  			"io":      "io",
    24  			"strings": "strings",
    25  		},
    26  		Interfaces: map[string]reflect.Type{},
    27  		NamedTypes: map[string]reflect.Type{
    28  			"InvalidByteError": reflect.TypeOf((*q.InvalidByteError)(nil)).Elem(),
    29  		},
    30  		AliasTypes: map[string]reflect.Type{},
    31  		Vars: map[string]reflect.Value{
    32  			"ErrLength": reflect.ValueOf(&q.ErrLength),
    33  		},
    34  		Funcs: map[string]reflect.Value{
    35  			"Decode":         reflect.ValueOf(q.Decode),
    36  			"DecodeString":   reflect.ValueOf(q.DecodeString),
    37  			"DecodedLen":     reflect.ValueOf(q.DecodedLen),
    38  			"Dump":           reflect.ValueOf(q.Dump),
    39  			"Dumper":         reflect.ValueOf(q.Dumper),
    40  			"Encode":         reflect.ValueOf(q.Encode),
    41  			"EncodeToString": reflect.ValueOf(q.EncodeToString),
    42  			"EncodedLen":     reflect.ValueOf(q.EncodedLen),
    43  			"NewDecoder":     reflect.ValueOf(q.NewDecoder),
    44  			"NewEncoder":     reflect.ValueOf(q.NewEncoder),
    45  		},
    46  		TypedConsts:   map[string]igop.TypedConst{},
    47  		UntypedConsts: map[string]igop.UntypedConst{},
    48  	})
    49  }