github.com/goplus/gossa@v0.3.25/pkg/net/http/cgi/go114_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package cgi 6 7 import ( 8 q "net/http/cgi" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.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/url": "url", 30 "os": "os", 31 "os/exec": "exec", 32 "path/filepath": "filepath", 33 "regexp": "regexp", 34 "runtime": "runtime", 35 "strconv": "strconv", 36 "strings": "strings", 37 }, 38 Interfaces: map[string]reflect.Type{}, 39 NamedTypes: map[string]gossa.NamedType{ 40 "Handler": {reflect.TypeOf((*q.Handler)(nil)).Elem(), "", "ServeHTTP,handleInternalRedirect,printf,stderr"}, 41 }, 42 AliasTypes: map[string]reflect.Type{}, 43 Vars: map[string]reflect.Value{}, 44 Funcs: map[string]reflect.Value{ 45 "Request": reflect.ValueOf(q.Request), 46 "RequestFromMap": reflect.ValueOf(q.RequestFromMap), 47 "Serve": reflect.ValueOf(q.Serve), 48 }, 49 TypedConsts: map[string]gossa.TypedConst{}, 50 UntypedConsts: map[string]gossa.UntypedConst{}, 51 }) 52 }