allEmpty loops through all strings in the slice and returns if all are empty (length 0).
(parts []string)
| 860 | // allEmpty loops through all strings in the slice and returns if |
| 861 | // all are empty (length 0). |
| 862 | func allEmpty(parts []string) bool { |
| 863 | for _, p := range parts { |
| 864 | if p != "" { |
| 865 | return false |
| 866 | } |
| 867 | } |
| 868 | return true |
| 869 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…