(n int)
| 278 | } |
| 279 | |
| 280 | func formatActiveDevelopers(n int) string { |
| 281 | developerText := "developer" |
| 282 | if n != 1 { |
| 283 | developerText = "developers" |
| 284 | } |
| 285 | |
| 286 | var nStr string |
| 287 | if n < 0 { |
| 288 | nStr = "-" |
| 289 | } else { |
| 290 | nStr = strconv.Itoa(n) |
| 291 | } |
| 292 | |
| 293 | return fmt.Sprintf("%s active %s", nStr, developerText) |
| 294 | } |
no outgoing calls
no test coverage detected