github.com/goplus/gossa@v0.3.25/pkg/encoding/pem/go114_export.go (about)

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //+build go1.14,!go1.15
     4  
     5  package pem
     6  
     7  import (
     8  	q "encoding/pem"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/gossa"
    13  )
    14  
    15  func init() {
    16  	gossa.RegisterPackage(&gossa.Package{
    17  		Name: "pem",
    18  		Path: "encoding/pem",
    19  		Deps: map[string]string{
    20  			"bytes":           "bytes",
    21  			"encoding/base64": "base64",
    22  			"errors":          "errors",
    23  			"io":              "io",
    24  			"sort":            "sort",
    25  			"strings":         "strings",
    26  		},
    27  		Interfaces: map[string]reflect.Type{},
    28  		NamedTypes: map[string]gossa.NamedType{
    29  			"Block": {reflect.TypeOf((*q.Block)(nil)).Elem(), "", ""},
    30  		},
    31  		AliasTypes: map[string]reflect.Type{},
    32  		Vars:       map[string]reflect.Value{},
    33  		Funcs: map[string]reflect.Value{
    34  			"Decode":         reflect.ValueOf(q.Decode),
    35  			"Encode":         reflect.ValueOf(q.Encode),
    36  			"EncodeToMemory": reflect.ValueOf(q.EncodeToMemory),
    37  		},
    38  		TypedConsts:   map[string]gossa.TypedConst{},
    39  		UntypedConsts: map[string]gossa.UntypedConst{},
    40  	})
    41  }