-
Notifications
You must be signed in to change notification settings - Fork 117
Address issues from staticcheck #147
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
Comments
fyi @GeorgeMac @e-dard |
@russorat, fixing most of those issues will change public API and make a compilation failing for users. |
@vlastahajek @russorat 👋 for me I would love to see all of these checks (including However, I think pragmatically we might be better off holding off on these For now I would ignore the Hope that helps! |
On ST1003, we can follow these recs:
Breaking changes might be introduced with a major version number.. |
@e-dard, fixing issues in the nonpublic parts is without objections 😉 |
Two things to consider: Timeline 1st release, eg, 1.4.0
2nd release, eg. 1.5.0
Package rename Even without changing the package name, each user will have to change usage methods of the client := influxdb2.NewClient("http://localhost:9999", "my-token")
orgApi := client.OrganizationsApi()
org, err := orgApi.FindOrganizationById(ctx, "000000000000001")
....
org, err := client.OrganizationsApi().FindOrganizationById(ctx, "000000000000001") With an intelligent IDE (e.g. GoLand) such change in package name will be automatically detected and the required change in imports will be made automatically. |
staticcheck -show-ignored -checks="all" ./...
The text was updated successfully, but these errors were encountered: