Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Applied some recommendations from official documentation#33

Open
valentim wants to merge 1 commit into
RobotsAndPencils:masterfrom
valentim:suggestion_from_documentation
Open

Applied some recommendations from official documentation#33
valentim wants to merge 1 commit into
RobotsAndPencils:masterfrom
valentim:suggestion_from_documentation

Conversation

@valentim
Copy link
Copy Markdown

@valentim valentim commented Jan 6, 2020

First of all, thank you so much! I learned through your source code.

This PR is a simple one done only to improve the source code with some official suggestion that I had learnt from documentation.

Technically I did minor changes:
1 - I included the defer inside the Send method to ensure that the connection be closed
2 - I included some short comments above the exported methods

…uch as comments above the exported methods and the defer statement to close client connection
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant