You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2021. It is now read-only.
/*
Package foo does some stuff
Extra notes about foo that I want in the godoc
*/
as that avoids the problem (and isn't ugly in my opinion), but trying it out on an example in the Go source actually causes the same "leading space" error to occur because they indented it. Interesting!
Running golint over code like:
generates the warning:
Changing it to
"solves" the problem but looks ugly.
Another workaround is to use
but neither of these are suggested. Perhaps a better comment or check should be "Package comment should start with //"
The text was updated successfully, but these errors were encountered: