dropEmptyStrings filters a slice to only non-empty strings
(in []string)
| 242 | |
| 243 | // dropEmptyStrings filters a slice to only non-empty strings |
| 244 | func dropEmptyStrings(in []string) (out []string) { |
| 245 | for _, s := range in { |
| 246 | if s != "" { |
| 247 | out = append(out, s) |
| 248 | } |
| 249 | } |
| 250 | return |
| 251 | } |
| 252 | |
| 253 | func aggregate(prof *profile.Profile, cfg config) error { |
| 254 | var function, filename, linenumber, address bool |
no outgoing calls
no test coverage detected
searching dependent graphs…