johnsonjh/gfsmux

View on GitHub
mux.go

Summary

Maintainability
A
1 hr
Test Coverage

Function VerifyConfig has 10 return statements (exceeds 4 allowed).
Open

func VerifyConfig(
    Config *Config,
) error {
    if !(Config.Version == 1 || Config.Version == 2) {
        return errors.New(
Severity: Major
Found in mux.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status