MCPcopy Create free account
hub / github.com/gobeam/stringy / UcFirst

Method UcFirst

stringy.go:382–385  ·  view source on GitHub ↗

UcFirst makes first word of user input to uppercase it can be chained on function which return StringManipulation interface

()

Source from the content-addressed store, hash-verified

380// UcFirst makes first word of user input to uppercase
381// it can be chained on function which return StringManipulation interface
382func (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
388func (i *input) Prefix(with string) string {

Callers

nothing calls this directly

Calls 2

getInputFunction · 0.85
ucfirstFunction · 0.85

Tested by

no test coverage detected