Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstRuneLower ¶
FirstRuneLower returns the same string but with the first rune in the string transformed to lowercase.
Example ¶
package main import ( "fmt" "github.com/iver-wharf/wharf-core/v2/pkg/strutil" ) func main() { fmt.Println(strutil.FirstRuneLower("HELLO WORLD")) }
Output: hELLO WORLD
func FirstRuneUpper ¶
FirstRuneUpper returns the same string but with the first rune in the string transformed to uppercase.
Example ¶
package main import ( "fmt" "github.com/iver-wharf/wharf-core/v2/pkg/strutil" ) func main() { fmt.Println(strutil.FirstRuneUpper("hello world")) }
Output: Hello world
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.