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

doc: fix formatting of deprecated notices #313

Merged
merged 2 commits into from
Mar 20, 2023

Conversation

dolmen
Copy link
Contributor

@dolmen dolmen commented Feb 23, 2023

Fix formatting of deprecation notices in Go doc comments:

Add an empty comment line before "Deprecated:" notices in Go documentation to
follow the convention defined in
https://github.com/golang/go/wiki/Deprecated

This will allow tooling to inform developers about use of those
deprecated APIs.
Add doc links in deprecation notices mentionned in Go doc comments.

About doc links: https://go.dev/doc/comment#doclinks
@samber
Copy link
Owner

samber commented Mar 20, 2023

Thanks!

@samber samber merged commit 43cb1bd into samber:master Mar 20, 2023
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