Files
moxa/stdlib/encoding_pem.go
Marc Vertes 25adc35a3c Change representation of stdlib from interface{} to reflect.Value
This fixes problems due to storing binary symbols as interfaces{}
instead of concrete type, which confuses lookup functions to retrieve
methods etc. in reflect.
2018-08-28 03:12:28 +02:00

20 lines
441 B
Go

package stdlib
// Generated by 'goexports encoding/pem'. Do not edit!
import (
"encoding/pem"
"reflect"
)
func init() {
Value["encoding/pem"] = map[string]reflect.Value{
"Decode": reflect.ValueOf(pem.Decode),
"Encode": reflect.ValueOf(pem.Encode),
"EncodeToMemory": reflect.ValueOf(pem.EncodeToMemory),
}
Type["encoding/pem"] = map[string]reflect.Type{
"Block": reflect.TypeOf((*pem.Block)(nil)).Elem(),
}
}