feat: update stdlib mapping for go1.16
- drop stdlib for go1.14 - generate stdlib for go1.16 - update CI configuration.
This commit is contained in:
committed by
GitHub
parent
ac80d1b3ed
commit
8bb5daf60e
30
stdlib/go1_16_encoding_hex.go
Normal file
30
stdlib/go1_16_encoding_hex.go
Normal file
@@ -0,0 +1,30 @@
|
||||
// Code generated by 'yaegi extract encoding/hex'. DO NOT EDIT.
|
||||
|
||||
// +build 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)),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user