ARM-software/golang-utils

View on GitHub
utils/commonerrors/errors.go

Summary

Maintainability
A
1 hr
Test Coverage

Function deserialiseCommonError has 66 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func deserialiseCommonError(errStr string) (bool, error) {
    errStr = strings.TrimSpace(errStr)
    switch {
    case errStr == "":
        return true, nil
Severity: Minor
Found in utils/commonerrors/errors.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status