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

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