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

Do not expose to public test code #134

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Do not expose to public test code #134

merged 1 commit into from
Jan 8, 2024

Conversation

alexandear
Copy link
Contributor

This PR renames test_setup.go -> test_setup_test.go, test_setup_x.go -> test_setup_x_test.go, so the Go tools properly recognizing these files as test files and do not show them on pkg.go.dev.

Before:
image

After:
image

@otiai10
Copy link
Owner

otiai10 commented Jan 8, 2024

fair enough. Thank you, I love it.

@otiai10 otiai10 merged commit c1ce9c6 into otiai10:main Jan 8, 2024
21 checks passed
@alexandear alexandear deleted the do-not-expose-test-setup branch January 8, 2024 11:15
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