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

     1  // Code generated by 'yaegi extract go/importer'. DO NOT EDIT.
     2  
     3  //go:build go1.20
     4  // +build go1.20
     5  
     6  package stdlib
     7  
     8  import (
     9  	"go/importer"
    10  	"reflect"
    11  )
    12  
    13  func init() {
    14  	Symbols["go/importer/importer"] = map[string]reflect.Value{
    15  		// function, constant and variable definitions
    16  		"Default":     reflect.ValueOf(importer.Default),
    17  		"For":         reflect.ValueOf(importer.For),
    18  		"ForCompiler": reflect.ValueOf(importer.ForCompiler),
    19  
    20  		// type definitions
    21  		"Lookup": reflect.ValueOf((*importer.Lookup)(nil)),
    22  	}
    23  }