Tue, Feb 6, 2024 at 6:29 AM Pedro Luis Guzmán Hernández
> wrote:
> >
> > Thanks Brian. That is an implementation detail though, so relying on it
> with no mention in the documentation at all feels unsound. A Close method
> usually means you have to defer it right after ge
ore moving onto the next one, it looks
> like you should be good.
>
> On Tuesday 6 February 2024 at 13:34:16 UTC Pedro Luis Guzmán Hernández
> wrote:
>
>> multipart.Part, returned by multipart.Reader's NextPart method, have a
>> Close() method. The only example
multipart.Part, returned by multipart.Reader's NextPart method, have a
Close() method. The only example
here https://pkg.go.dev/mime/multipart#NewReader doesn't use the Close()
method at all, so what's it purpose? Can we safely ignore it?
The reason I'm asking is that, calling *defer