github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_17_encoding_hex.go (about) 1 // Code generated by 'yaegi extract encoding/hex'. DO NOT EDIT. 2 3 //go:build go1.17 4 // +build go1.17 5 6 package stdlib 7 8 import ( 9 "encoding/hex" 10 "reflect" 11 ) 12 13 func init() { 14 Symbols["encoding/hex/hex"] = map[string]reflect.Value{ 15 // function, constant and variable definitions 16 "Decode": reflect.ValueOf(hex.Decode), 17 "DecodeString": reflect.ValueOf(hex.DecodeString), 18 "DecodedLen": reflect.ValueOf(hex.DecodedLen), 19 "Dump": reflect.ValueOf(hex.Dump), 20 "Dumper": reflect.ValueOf(hex.Dumper), 21 "Encode": reflect.ValueOf(hex.Encode), 22 "EncodeToString": reflect.ValueOf(hex.EncodeToString), 23 "EncodedLen": reflect.ValueOf(hex.EncodedLen), 24 "ErrLength": reflect.ValueOf(&hex.ErrLength).Elem(), 25 "NewDecoder": reflect.ValueOf(hex.NewDecoder), 26 "NewEncoder": reflect.ValueOf(hex.NewEncoder), 27 28 // type definitions 29 "InvalidByteError": reflect.ValueOf((*hex.InvalidByteError)(nil)), 30 } 31 }