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

ST1021: structs named A do not have their proper documentation recognized. #1187

Closed
twmb opened this issue Feb 15, 2022 · 0 comments
Closed

Comments

@twmb
Copy link

twmb commented Feb 15, 2022

package main

// A does foo.
type A struct{}

func main() {
	var a A
	println(a)
}
junk.go:3:1: ST1021: comment on exported type A should be of the form "A ..." (with optional leading article) (stylecheck)
// A does foo.
@twmb twmb added false-positive needs-triage Newly filed issue that needs triage labels Feb 15, 2022
@dominikh dominikh removed the needs-triage Newly filed issue that needs triage label Feb 15, 2022
dominikh added a commit that referenced this issue Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants