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

Split testable examples for increasing readability #85

Open
ccoVeille opened this issue Feb 18, 2025 · 0 comments
Open

Split testable examples for increasing readability #85

ccoVeille opened this issue Feb 18, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@ccoVeille
Copy link
Owner

Current examples

Screenshot_20250218_175811_Firefox.jpg

Screenshot_20250218_175843_Firefox.jpg

https://go.dev/blog/examples

Multiple examples can be provided for a given identifier by using a suffix beginning with an underscore followed by a lowercase letter. Each of these examples documents the String function:

func ExampleString()
func ExampleString_second()
func ExampleString_third()
@ccoVeille ccoVeille added the documentation Improvements or additions to documentation label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant