If the connection to the server is lost while transmission, you will
probably receive a broken pipe error.
If the timeout happens before sending data, nothing to care.
If the timeout happens during data transmission, well, you may have
incomplete data(corrupted) in the server.
I don't think ther
Not an entirely true statement, and a fairly misunderstanding of the
subject.
On Saturday, October 1, 2022 at 11:13:19 PM UTC+2 al...@pbrane.org wrote:
> Robert Engels once said:
> > I think you’ll find the article interesting. It is certainly written
> > by a CS “god” that knows what he’s ta
[]byte is a no comparable type.
quoting the docs:
*comparable is an interface that is implemented by all comparable
types(booleans, numbers, strings, pointers, channels, interfaces,arrays of
comparable types, structs whose fields are all comparable types).The
comparable interface may only b
I would like to share two posts from Cheney which could help you visualise
situations of nil receivers, and if those should be checked or not by your
program
https://dave.cheney.net/2013/01/19/what-is-the-zero-value-and-why-is-it-useful
https://dave.cheney.net/2016/03/19/should-methods-be-declar