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

fmt: Provide more examples in godocs #28238

Closed
ghost opened this issue Oct 16, 2018 · 2 comments
Closed

fmt: Provide more examples in godocs #28238

ghost opened this issue Oct 16, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 16, 2018

Most fmt functions do not have examples in godocs (currently, only Stringer)

As I've not contributed to go before, I thought providing examples would be a good starter.

@ALTree
Copy link
Member

ALTree commented Oct 16, 2018

A few people recently added several examples; see the tip version of the website:

https://tip.golang.org/pkg/fmt/

These new example may also need some clean-up, as Rob said in #27554.

@robpike
Copy link
Contributor

robpike commented Oct 16, 2018

Duplicate of #27554, in effect.

@robpike robpike closed this as completed Oct 16, 2018
@golang golang locked and limited conversation to collaborators Oct 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants