-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port detection Optimization for Go Projects (#38)
* turn on default linters and fix warnings/errors as a result Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * cleanup forgotten commented out block Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * potential increase in code cov for resp body closing Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * fix lint error in test case Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * revert redundant code coverage changes Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * update defer statements and add test cases for them Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * add test cases for detector.go Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * update excluded folders for mocks and migrations Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * update unit tests for new go excluded folders Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * filter out test files for go Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * make changes more concise Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * update unit tests for optimization changes Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * update port detection docs Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * remove commented out block Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * revert linter change from other branch Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * revert defer statement changes from other branch Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * revert detector.go test changes from other branch Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * update port detection docs with suggested change Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * add unit test for new function Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> --------- Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
- Loading branch information
Showing
5 changed files
with
116 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters