github.com/goplus/igop@v0.25.0/pkg/embed/go118_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.18 && !go1.19
     4  // +build go1.18,!go1.19
     5  
     6  package embed
     7  
     8  import (
     9  	q "embed"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "embed",
    19  		Path: "embed",
    20  		Deps: map[string]string{
    21  			"errors": "errors",
    22  			"io":     "io",
    23  			"io/fs":  "fs",
    24  			"time":   "time",
    25  		},
    26  		Interfaces: map[string]reflect.Type{},
    27  		NamedTypes: map[string]reflect.Type{
    28  			"FS": reflect.TypeOf((*q.FS)(nil)).Elem(),
    29  		},
    30  		AliasTypes:    map[string]reflect.Type{},
    31  		Vars:          map[string]reflect.Value{},
    32  		Funcs:         map[string]reflect.Value{},
    33  		TypedConsts:   map[string]igop.TypedConst{},
    34  		UntypedConsts: map[string]igop.UntypedConst{},
    35  	})
    36  }