Re:WTF: A personal information dashboard for your terminal
by manveru on Thursday May 31, 2018 @06:56PM
(#17201051)
I'd say you were missing https://github.com/k0kubun/pp but the other tricky thing is that you can read a http.Request.Body only once unlike in Ruby. I usually use ioutil.ReadAll for that.
[ Parent
| on HN ]
Re:WTF: A personal information dashboard for your terminal
by workinthehead on Friday June 01, 2018 @04:49AM
(#17203644)
That's incorrect. Both languages require you to rewind the reader before you can read it a second time. You're probably just used to higher level frameworks like Sinatra or Rails that take care of it for you.