github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_encoding_hex.go (about)

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