echo-contrib
echo-contrib copied to clipboard
Fix the deprecation comment format
According to the Go WIKI
To signal that an identifier should not be used, add a paragraph to its doc comment that begins with Deprecated: followed by some information about the deprecation, and a recommendation on what to use instead, if applicable.
Emphasis is mine. Without putting the "Deprecated:" part to its own paragraph, automated tools and IDEs (e.g. vscode) don't recognize the deprecation warning.