github.com/goplus/gossa@v0.3.25/pkg/go/importer/go117_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.17 && !go1.18 4 // +build go1.17,!go1.18 5 6 package importer 7 8 import ( 9 q "go/importer" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "importer", 19 Path: "go/importer", 20 Deps: map[string]string{ 21 "go/build": "build", 22 "go/internal/gccgoimporter": "gccgoimporter", 23 "go/internal/gcimporter": "gcimporter", 24 "go/internal/srcimporter": "srcimporter", 25 "go/token": "token", 26 "go/types": "types", 27 "io": "io", 28 "runtime": "runtime", 29 }, 30 Interfaces: map[string]reflect.Type{}, 31 NamedTypes: map[string]gossa.NamedType{ 32 "Lookup": {reflect.TypeOf((*q.Lookup)(nil)).Elem(), "", ""}, 33 }, 34 AliasTypes: map[string]reflect.Type{}, 35 Vars: map[string]reflect.Value{}, 36 Funcs: map[string]reflect.Value{ 37 "Default": reflect.ValueOf(q.Default), 38 "For": reflect.ValueOf(q.For), 39 "ForCompiler": reflect.ValueOf(q.ForCompiler), 40 }, 41 TypedConsts: map[string]gossa.TypedConst{}, 42 UntypedConsts: map[string]gossa.UntypedConst{}, 43 }) 44 }