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
Move errcheck package out of internal #185
Commits on Aug 2, 2020
-
Move errcheck package out of internal
Signed-off-by: Eric Chlebek <eric@sensu.io>
Commits on Aug 4, 2020
-
Merge branch 'master' into publish-api
Signed-off-by: Eric Chlebek <eric@sensu.io>
Commits on Aug 19, 2020
-
Sergey Vilgelm committed
Aug 19, 2020 -
-
-
-
Commits on Aug 31, 2020
-
Merge pull request #188 from SVilgelm/publish-api
CheckPackage function
-
Merge remote-tracking branch 'origin/publish-api' into exclusions
I've taken the liberty of modifying the incoming changes somewhat. The UpdateNonVendoredIgnore function has been renamed, unexported, and made to return data instead of setting it.
Commits on Oct 10, 2020
-
Simplify vendored package resolution.
Independent of whether go mod is used or not, simply strip off vendor directory prefix from both imports and excludes if it was found.
-
Merge pull request #1 from dtcaciuc/rm-mod-check
Simplify vendored package resolution.
-
-
Commits on Oct 23, 2020
-
Merge pull request #189 from dtcaciuc/exclusions
Factor out exclusion flags into a separate struct
Commits on Oct 25, 2020
-
This commit removes the CheckPaths method of Checker. It also adds a method called LoadPackages, and exports more of the logic that errcheck uses to do aggregation. The UncheckedErrors type has been renamed to Result, and the CheckPackage function now returns a *Result instead of []UncheckedErrors. Signed-off-by: Eric Chlebek <eric@sensu.io>
-
Refactor main.checkPaths a bit
Signed-off-by: Eric Chlebek <eric@sensu.io>
-
Remove mutex, Errors->UncheckedErrors
Signed-off-by: Eric Chlebek <eric@sensu.io>
-
Signed-off-by: Eric Chlebek <eric@sensu.io>
Commits on Nov 10, 2020
-
Remove sort.Interface from Result
As suggested by dtcaciuc Signed-off-by: Eric Chlebek <eric@sensu.io>
-
Don't mutate Result on Unique()
Signed-off-by: Eric Chlebek <eric@sensu.io>
Commits on Nov 13, 2020
Commits on Dec 10, 2020
-
Make API less pointery. Get rid of error interface.
Signed-off-by: Eric Chlebek <eric@sensu.io>