Files
moxa/stdlib/go1_16_crypto_sha1.go
Ludovic Fernandez 8bb5daf60e feat: update stdlib mapping for go1.16
- drop stdlib for go1.14
- generate stdlib for go1.16
-  update CI configuration.
2021-02-17 10:02:03 +01:00

23 lines
523 B
Go

// Code generated by 'yaegi extract crypto/sha1'. DO NOT EDIT.
// +build 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),
}
}