Files
moxa/stdlib/go1_15_encoding_hex.go
Ludovic Fernandez 8bb5daf60e feat: update stdlib mapping for go1.16
- drop stdlib for go1.14
- generate stdlib for go1.16
-  update CI configuration.
2021-02-17 10:02:03 +01:00

31 lines
937 B
Go

// Code generated by 'yaegi extract encoding/hex'. DO NOT EDIT.
// +build go1.15,!go1.16
package stdlib
import (
"encoding/hex"
"reflect"
)
func init() {
Symbols["encoding/hex"] = map[string]reflect.Value{
// function, constant and variable definitions
"Decode": reflect.ValueOf(hex.Decode),
"DecodeString": reflect.ValueOf(hex.DecodeString),
"DecodedLen": reflect.ValueOf(hex.DecodedLen),
"Dump": reflect.ValueOf(hex.Dump),
"Dumper": reflect.ValueOf(hex.Dumper),
"Encode": reflect.ValueOf(hex.Encode),
"EncodeToString": reflect.ValueOf(hex.EncodeToString),
"EncodedLen": reflect.ValueOf(hex.EncodedLen),
"ErrLength": reflect.ValueOf(&hex.ErrLength).Elem(),
"NewDecoder": reflect.ValueOf(hex.NewDecoder),
"NewEncoder": reflect.ValueOf(hex.NewEncoder),
// type definitions
"InvalidByteError": reflect.ValueOf((*hex.InvalidByteError)(nil)),
}
}