he Content-Length header is added automatically."
"Once the headers have been flushed (...), the request body may be unavailable."
My understanding is that after the main handler returns, none of this
matters anymore. But are there any other similar side effects?
Mitar
--
Hi!
On Mon, Nov 20, 2023 at 10:26 AM Duncan Harris wrote:
> Why do you care about buffering in Go vs the OS?
Just because I hope that in Go I might have a chance to know when they
are written out than in OS.
Mitar
--
https://mitar.tnode.com/
https://twitter.com/mitar_m
https://noc.soc
by malice) and would like to have some data
on how often that is happening.
Mitar
--
https://mitar.tnode.com/
https://twitter.com/mitar_m
https://noc.social/@mitar
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from
k
trace every time you called any of its methods, even when the error
you were wrapping already had a stack trace. Most functions in this
package add a stack trace only if the error does not already have one.
The only exception is Wrap which does it again.
Mitar
--
http://mitar.tnode.com/
https://twit
you use
`errors.Is` to determine which of base errors happened and map that to
a message for the end user, in their language. So in a way,
github.com/cockroachdb/errors has too much stuff for me, so I prefer
something leaner.
Mitar
On Mon, Jan 3, 2022 at 7:27 AM Gaurav Maheshwari
wrote:
>
&g
codewise and very familiar human wise.
Now you can use Errorf to both wrap an existing error, format the
error message, and record a stack trace.
https://gitlab.com/tozd/go/errors
Check it out. Any feedback is welcome.
Mitar
--
http://mitar.tnode.com/
https://twitter.com/mitar_m
--
You received
16. So I can assume the
post is simply false?
Mitar
--
http://mitar.tnode.com/
https://twitter.com/mitar_m
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an
are installed
as CLI tools?
Mitar
[1] https://groups.google.com/g/golang-nuts/c/frh9zQPEjUk/m/9tnVPAegDgAJ
--
http://mitar.tnode.com/
https://twitter.com/mitar_m
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this grou