Any interest in expanding #79? https://100go.co/#not-closing-transient-resources-http-body-sqlrows-and-osfile-79 #99
adamdavis40208
started this conversation in
Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I got bit hard by a bug from not closing the Body of an http request -- because I wasn't using it
https://www.reddit.com/r/golang/comments/13fphyz/til_go_response_body_must_be_closed_even_if_you/?utm_source=share&utm_medium=web2x&context=3&rdt=35856
it's an awfully important one that is kinda glossed over in a hard to understand way for newbies. "things that implement io.closer"
Beta Was this translation helpful? Give feedback.
All reactions