Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.5k
Open
Description
Your feature request related to a problem? Please describe.
Theconstructor linter reports whether name of a constructor like function does not begin "New":
typeT1struct{}funcNewT1() (t*T1) {return }// OKfuncCreateT1() (t*T1) {return }// want `name of a constructor like function must begin "New"`
https://github.com/gostaticanalysis/constructor
Describe the solution you'd like.
—
Describe alternatives you've considered.
—
Additional context.
No response