Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ println(v)
LcFirst returns the string with the first rune lower-cased.

```go
v := str.Of("Gopher")
v := str.Of("Gopher").LcFirst().String()
fmt.Println(v)
// #string gopher
```
Expand Down
2 changes: 1 addition & 1 deletion examples/lcfirst/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func main() {
// LcFirst returns the string with the first rune lower-cased.

// Example: lowercase first rune
v := str.Of("Gopher")
v := str.Of("Gopher").LcFirst().String()
fmt.Println(v)
// #string gopher
}
2 changes: 1 addition & 1 deletion lcfirst.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "unicode"
//
// Example: lowercase first rune
//
// v := str.Of("Gopher")
// v := str.Of("Gopher").LcFirst().String()
// fmt.Println(v)
// // #string gopher
func (s String) LcFirst() String {
Expand Down