github.com/goplus/igop@v0.25.0/pkg/encoding/pem/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 pem
     7  
     8  import (
     9  	q "encoding/pem"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "pem",
    19  		Path: "encoding/pem",
    20  		Deps: map[string]string{
    21  			"bytes":           "bytes",
    22  			"encoding/base64": "base64",
    23  			"errors":          "errors",
    24  			"io":              "io",
    25  			"sort":            "sort",
    26  			"strings":         "strings",
    27  		},
    28  		Interfaces: map[string]reflect.Type{},
    29  		NamedTypes: map[string]reflect.Type{
    30  			"Block": reflect.TypeOf((*q.Block)(nil)).Elem(),
    31  		},
    32  		AliasTypes: map[string]reflect.Type{},
    33  		Vars:       map[string]reflect.Value{},
    34  		Funcs: map[string]reflect.Value{
    35  			"Decode":         reflect.ValueOf(q.Decode),
    36  			"Encode":         reflect.ValueOf(q.Encode),
    37  			"EncodeToMemory": reflect.ValueOf(q.EncodeToMemory),
    38  		},
    39  		TypedConsts:   map[string]igop.TypedConst{},
    40  		UntypedConsts: map[string]igop.UntypedConst{},
    41  	})
    42  }