rambler-oss/keyreader

View on GitHub
main.go

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Function main has 64 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func main() {
    var (
        host Host
        user string
    )
Severity: Minor
Found in main.go - About 1 hr to fix

    func parameter noUsrAcl should be noUsrACL
    Open

    func usrFilter(user string, hosts []string, noUsrAcl bool) string {
    Severity: Minor
    Found in main.go by golint

    if block ends with a return statement, so drop this else and outdent its block
    Open

            } else {
    Severity: Minor
    Found in main.go by golint

    There are no issues that match your filters.

    Category
    Status