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

Fix testable example output comment formatting #257

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

hhromic
Copy link
Contributor

@hhromic hhromic commented Jun 30, 2024

The output of the testable example Example_helpPlaceholder is not working correctly due to wrong formatting.
Observe the example in pkg.go.dev and note how the Output section is empty.

This simple PR fixes the formatting so the Output section works correctly.
I discovered this issue while running golangci-lint over the repository :)

@alexflint
Copy link
Owner

Wonderful, thanks!

@alexflint alexflint merged commit 3de7278 into alexflint:master Jul 4, 2024
3 checks passed
@hhromic hhromic deleted the fix-testable-example branch July 4, 2024 17:31
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.

2 participants