mirror of
https://github.com/byReqz/probehost2.git
synced 2025-09-13 01:07:03 +00:00
solve small linter nitpicks
This commit is contained in:
2
main.go
2
main.go
@@ -84,7 +84,7 @@ func runner(remoteip string, command string, args ...string) string {
|
||||
return string(cmd)
|
||||
}
|
||||
|
||||
// validatehosts checks the given host+port combinations for validity and returns valid hosts + valid ports seperately.
|
||||
// validatehosts checks the given host+port combinations for validity and returns valid hosts + valid ports separately.
|
||||
func validatehosts(hosts []string) ([]string, []string) {
|
||||
var validHosts []string
|
||||
var validPorts []string
|
||||
|
Reference in New Issue
Block a user