github.com/goplus/gossa@v0.3.25/pkg/net/http/cgi/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 cgi 7 8 import ( 9 q "net/http/cgi" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "cgi", 19 Path: "net/http/cgi", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "crypto/tls": "tls", 23 "errors": "errors", 24 "fmt": "fmt", 25 "io": "io", 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]gossa.NamedType{ 42 "Handler": {reflect.TypeOf((*q.Handler)(nil)).Elem(), "", "ServeHTTP,handleInternalRedirect,printf,stderr"}, 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]gossa.TypedConst{}, 52 UntypedConsts: map[string]gossa.UntypedConst{}, 53 }) 54 }