github.com/traefik/yaegi@v0.15.1/stdlib/go1_20_crypto_md5.go (about)

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