go2hx

manual

github

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

 ERROR  stdgo/_internal/net/http/httputil/Httputil_T_delegateReader_static_extension.hx:11: characters 37-39

 11 |                     _r._r = __tmp__._0;
    |                                     ^^
    | { value : stdgo._internal.io.Reader, ok : Bool } has no field _0

 ERROR  stdgo/_internal/net/http/httputil/Httputil_T_delegateReader_static_extension.hx:12: characters 35-37

 12 |                     _ok = __tmp__._1;
    |                                   ^^
    | { value : stdgo._internal.io.Reader, ok : Bool } has no field _1

 ERROR  (macro) stdgo/_internal/net/http/Http_Request_static_extension.hx:6: characters 67-123

  6 |         return (stdgo._internal.net.http.Http__hasToken._hasToken(_r.header.get(("Connection" : stdgo.GoString))?.__copy__(), ("upgrade" : stdgo.GoString)) && stdgo._internal.net.http.internal.ascii.Ascii_equalFold.equalFold(_r.header.get(("Upgrade" : stdgo.GoString))?.__copy__(), ("websocket" : stdgo.GoString)) : Bool);
    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | Null<stdgo.Slice<stdgo.GoString>> should be stdgo.GoString
    | For function argument '_v'