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