UcFirst makes first word of user input to uppercase it can be chained on function which return StringManipulation interface
()
| 380 | // UcFirst makes first word of user input to uppercase |
| 381 | // it can be chained on function which return StringManipulation interface |
| 382 | func (i *input) UcFirst() string { |
| 383 | input := getInput(*i) |
| 384 | return ucfirst(input) |
| 385 | } |
| 386 | |
| 387 | // Prefix makes sure that string is prefixed with a given string |
| 388 | func (i *input) Prefix(with string) string { |