main.go
Function main
has 64 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func main() {
var (
host Host
user string
)
func parameter noUsrAcl should be noUsrACL Open
Open
func usrFilter(user string, hosts []string, noUsrAcl bool) string {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks