Added new checks in the CI: checking that there are no function with cyclomatic complexity > 15 (using gocyclo) and checking that there are no ineffectual assignments (using ineffassign)
Refactoring in source files:
to bring down the complexity of some functions down, and mark those that need complexity with //gocyclo:ignore
to remove ineffectual assignments
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
Refactoring in source files:
//gocyclo:ignore
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.