go2hx

manual

github

Module stdgo.net.http.cgi has compilation errors, please do not use:

 ERROR  stdgo/_internal/net/http/cgi/Cgi_T_response_static_extension.hx:14: characters 67-146

 14 |                 _r._header.set(("Content-Type" : stdgo.GoString), stdgo._internal.net.http.Http_detectContentType.detectContentType(_p)?.__copy__());
    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | Null<stdgo.GoString> should be stdgo.Slice<stdgo.GoString>
    | For function argument 'value'

 ERROR  stdgo/_internal/net/http/Http_Header_static_extension.hx:17: characters 18-92

 17 |             if (!_internal.golang_dot_org.x.net.http.httpguts.Httpguts_validHeaderFieldName.validHeaderFieldName(_kv._key?.__copy__())) {
    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | Type not found : _internal.golang_dot_org.x.net.http.httpguts.Httpguts_validHeaderFieldName

 ERROR  stdgo/_internal/net/url/Url_Values_asInterface.hx:12: characters 107-113

 12 |     public dynamic function set(_key:stdgo.GoString, _value:stdgo.GoString):Void __self__.value.set(_key, _value);
    |                                                                                                           ^^^^^^
    | stdgo.GoString should be stdgo.Slice<stdgo.GoString>
    | For function argument 'value'