go-hlld icon indicating copy to clipboard operation
go-hlld copied to clipboard

Why is GOTO used in client.go?

Open jkomyno opened this issue 4 years ago • 0 comments

Hi, just a curiosity, why is a GOTO statement used in here? Does defining a private drain(c *Client) bool function create more issues than a GOTO statement would solve (where a bool is used to invoke return on the reader method)?

jkomyno avatar Jun 21 '21 08:06 jkomyno