go-ldap / ldap

Basic LDAP v3 functionality for the GO programming language.
Other
2.19k stars 352 forks source link

fix: mark functions as deprecated with doc comment #491

Closed donatello closed 3 months ago

donatello commented 3 months ago

Refer to https://go.dev/wiki/Deprecated

The right way to mark a function as deprecated is to use Deprecated: as the beginning of a doc comment paragraph.

This ensures that various tools (such as static checks) pick up the deprecation information.

johnweldon commented 3 months ago

Thank you @donatello