github.com/goplus/igop@v0.25.0/pkg/encoding/base32/go115_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package base32
     6  
     7  import (
     8  	q "encoding/base32"
     9  
    10  	"go/constant"
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "base32",
    19  		Path: "encoding/base32",
    20  		Deps: map[string]string{
    21  			"io":      "io",
    22  			"strconv": "strconv",
    23  		},
    24  		Interfaces: map[string]reflect.Type{},
    25  		NamedTypes: map[string]reflect.Type{
    26  			"CorruptInputError": reflect.TypeOf((*q.CorruptInputError)(nil)).Elem(),
    27  			"Encoding":          reflect.TypeOf((*q.Encoding)(nil)).Elem(),
    28  		},
    29  		AliasTypes: map[string]reflect.Type{},
    30  		Vars: map[string]reflect.Value{
    31  			"HexEncoding": reflect.ValueOf(&q.HexEncoding),
    32  			"StdEncoding": reflect.ValueOf(&q.StdEncoding),
    33  		},
    34  		Funcs: map[string]reflect.Value{
    35  			"NewDecoder":  reflect.ValueOf(q.NewDecoder),
    36  			"NewEncoder":  reflect.ValueOf(q.NewEncoder),
    37  			"NewEncoding": reflect.ValueOf(q.NewEncoding),
    38  		},
    39  		TypedConsts: map[string]igop.TypedConst{
    40  			"NoPadding":  {reflect.TypeOf(q.NoPadding), constant.MakeInt64(int64(q.NoPadding))},
    41  			"StdPadding": {reflect.TypeOf(q.StdPadding), constant.MakeInt64(int64(q.StdPadding))},
    42  		},
    43  		UntypedConsts: map[string]igop.UntypedConst{},
    44  	})
    45  }