ToUpper makes all string of user input to uppercase it can be chained on function which return StringManipulation interface
()
| 373 | // ToUpper makes all string of user input to uppercase |
| 374 | // it can be chained on function which return StringManipulation interface |
| 375 | func (i *input) ToUpper() string { |
| 376 | input := getInput(*i) |
| 377 | return strings.ToUpper(input) |
| 378 | } |
| 379 | |
| 380 | // UcFirst makes first word of user input to uppercase |
| 381 | // it can be chained on function which return StringManipulation interface |