14 Commits

Author SHA1 Message Date
JP Hastings-Spital
a16a847b26 fix: TinyGo compatible packages
The net/http/httptest package isn't implemented in tinygo — this (minor) change swaps to creating the necessary http.Request struct directly (which needs an extra step or two).

This *is not* enough to get TinyGo _working_ as a compiler for this repo, but the compilation succeeds now.
2024-12-14 10:12:55 +00:00
Nicolas Lepage
897626b7d1
fix: Firefox does not have request.body ReadableStream 2024-10-17 01:11:41 +02:00
Nicolas Lepage
8abad8cb77
fix: crash when request has no body 2024-10-14 23:28:21 +02:00
Nicolas Lepage
23cde9d811
chore: v2.0.0 2024-10-14 22:36:22 +02:00
Nicolas Lepage
b7e5adfd23
feat: uses ReadableStream for request (#16) 2024-10-14 22:23:22 +02:00
Nicolas Lepage
5ec4a8d7e8
[FEATURE] Use ReadableStream for Response (#15)
* feat: uses ReadableStream for Response

* chore: rebuilds other examples
2024-10-14 09:14:50 +02:00
Nicolas Lepage
624ed00220
♻️ Use github.com/nlepage/go-js-promise 2021-08-16 23:40:53 +02:00
Nicolas Lepage
b3e8d72ed1
♻️ Promise: More idiomatic Go... 2021-01-27 23:21:59 +01:00
Nicolas Lepage
896b5a3cee
♻️ 2021-01-27 23:06:28 +01:00
Nicolas Lepage
32e6c6349c
♻️ 2021-01-24 21:18:18 +01:00
Nicolas Lepage
37bf64f9dc
♻️ Simplify, no more util package 2021-01-24 18:03:17 +01:00
Nicolas Lepage
9c65a54a24
🚧 2019-11-27 07:22:07 +01:00
Nicolas Lepage
b4f7e16017
🚧 2019-11-27 00:19:46 +01:00
Nicolas Lepage
3919f17a99
🚧 2019-11-27 00:04:00 +01:00