Unleash/unleash-client-go

View on GitHub
internal/strategies/helpers.go

Summary

Maintainability
A
45 mins
Test Coverage
A
92%

Avoid deeply nested control flow statements.
Open

    } else if s, isString := param.(string); isString {
        f, err := strconv.ParseFloat(s, 64)
        if err == nil {
            result, ok = f, true
        }
Severity: Major
Found in internal/strategies/helpers.go - About 45 mins to fix

    func parameter groupId should be groupID
    Open

    func normalizedValue(id string, groupId string) uint32 {
    Severity: Minor
    Found in internal/strategies/helpers.go by golint

    There are no issues that match your filters.

    Category
    Status