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

     1  // Code generated by 'yaegi extract crypto/md5'. DO NOT EDIT.
     2  
     3  // +build go1.16,!go1.17
     4  
     5  package stdlib
     6  
     7  import (
     8  	"crypto/md5"
     9  	"go/constant"
    10  	"go/token"
    11  	"reflect"
    12  )
    13  
    14  func init() {
    15  	Symbols["crypto/md5/md5"] = map[string]reflect.Value{
    16  		// function, constant and variable definitions
    17  		"BlockSize": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)),
    18  		"New":       reflect.ValueOf(md5.New),
    19  		"Size":      reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)),
    20  		"Sum":       reflect.ValueOf(md5.Sum),
    21  	}
    22  }