github.com/goplus/gossa@v0.3.25/pkg/encoding/pem/go117_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.17 && !go1.18 4 // +build go1.17,!go1.18 5 6 package pem 7 8 import ( 9 q "encoding/pem" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.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]gossa.NamedType{ 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]gossa.TypedConst{}, 40 UntypedConsts: map[string]gossa.UntypedConst{}, 41 }) 42 }