Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use triple-quote formatting for multiline strings #229

Merged
merged 1 commit into from
Jul 21, 2020
Merged

Conversation

dsnet
Copy link
Collaborator

@dsnet dsnet commented Jul 20, 2020

For strings, []bytes containing text data, Error method output, and
String method output, use the triple-quoted syntax.
This improves readability by presenting the data more naturally
compared to a single-line quoted string with many escaped characters.

@dsnet dsnet requested a review from cybrcodr July 20, 2020 21:07
@dsnet
Copy link
Collaborator Author

dsnet commented Jul 20, 2020

\cc @sh0rez

For strings, []bytes containing text data, Error method output, and
String method output, use the triple-quoted syntax.
This improves readability by presenting the data more naturally
compared to a single-line quoted string with many escaped characters.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants