Suffix makes sure that string is suffixed with a given string
(with string)
| 396 | |
| 397 | // Suffix makes sure that string is suffixed with a given string |
| 398 | func (i *input) Suffix(with string) string { |
| 399 | input := getInput(*i) |
| 400 | if strings.HasSuffix(input, with) { |
| 401 | return input |
| 402 | } |
| 403 | |
| 404 | return input + with |
| 405 | } |
nothing calls this directly
no test coverage detected