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

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