go2hx

manual

github

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

 ERROR  stdgo/_internal/net/http/fcgi/Fcgi_T_response_static_extension.hx:48: characters 13-74

 48 |         if (_r._header.get(("Date" : stdgo.GoString)) == (stdgo.Go.str())) {
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | stdgo.GoString should be Null<stdgo.Slice<stdgo.GoString>>

 ERROR  stdgo/_internal/net/http/fcgi/Fcgi_T_response_static_extension.hx:49: characters 55-165

 49 |             _r._header.set(("Date" : stdgo.GoString), stdgo._internal.time.Time_now.now().utc().format(("Mon, 02 Jan 2006 15:04:05 GMT" : stdgo.GoString))?.__copy__());
    |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | Null<stdgo.GoString> should be stdgo.Slice<stdgo.GoString>
    | For function argument 'value'

 ERROR  stdgo/_internal/net/http/fcgi/Fcgi_T_response_static_extension.hx:28: characters 67-146

 28 |                 _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  (macro) stdgo/_internal/net/textproto/Textproto_MIMEHeader_asInterface.hx:8: characters 69-100

  8 |     public dynamic function get(_key:stdgo.GoString):stdgo.GoString return __self__.value.get(_key);
    |                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | Null<stdgo.Slice<stdgo.GoString>> should be stdgo.GoString