Skip to content
New issue

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

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

Already on GitHub? Sign in 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants