Files
moxa/stdlib/go1_15_crypto_sha1.go
Ludovic Fernandez 1fe75f149d feat: update stdlib mapping for go1.15
- drop stdlib for go1.13
- generate stdlib for go1.15
-  update CI configuration.
2020-08-12 12:38:04 +02:00

23 lines
553 B
Go

// Code generated by 'github.com/containous/yaegi/extract crypto/sha1'. DO NOT EDIT.
// +build go1.15,!go1.16
package stdlib
import (
"crypto/sha1"
"go/constant"
"go/token"
"reflect"
)
func init() {
Symbols["crypto/sha1"] = map[string]reflect.Value{
// function, constant and variable definitions
"BlockSize": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)),
"New": reflect.ValueOf(sha1.New),
"Size": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)),
"Sum": reflect.ValueOf(sha1.Sum),
}
}