github.com/goplus/igop@v0.17.0/pkg/net/http/cgi/go115_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package cgi
     6  
     7  import (
     8  	q "net/http/cgi"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name: "cgi",
    18  		Path: "net/http/cgi",
    19  		Deps: map[string]string{
    20  			"bufio":                                 "bufio",
    21  			"crypto/tls":                            "tls",
    22  			"errors":                                "errors",
    23  			"fmt":                                   "fmt",
    24  			"io":                                    "io",
    25  			"io/ioutil":                             "ioutil",
    26  			"log":                                   "log",
    27  			"net":                                   "net",
    28  			"net/http":                              "http",
    29  			"net/textproto":                         "textproto",
    30  			"net/url":                               "url",
    31  			"os":                                    "os",
    32  			"os/exec":                               "exec",
    33  			"path/filepath":                         "filepath",
    34  			"regexp":                                "regexp",
    35  			"runtime":                               "runtime",
    36  			"strconv":                               "strconv",
    37  			"strings":                               "strings",
    38  			"vendor/golang.org/x/net/http/httpguts": "httpguts",
    39  		},
    40  		Interfaces: map[string]reflect.Type{},
    41  		NamedTypes: map[string]reflect.Type{
    42  			"Handler": reflect.TypeOf((*q.Handler)(nil)).Elem(),
    43  		},
    44  		AliasTypes: map[string]reflect.Type{},
    45  		Vars:       map[string]reflect.Value{},
    46  		Funcs: map[string]reflect.Value{
    47  			"Request":        reflect.ValueOf(q.Request),
    48  			"RequestFromMap": reflect.ValueOf(q.RequestFromMap),
    49  			"Serve":          reflect.ValueOf(q.Serve),
    50  		},
    51  		TypedConsts:   map[string]igop.TypedConst{},
    52  		UntypedConsts: map[string]igop.UntypedConst{},
    53  	})
    54  }