mirror of
https://github.com/golang/go
synced 2024-11-22 13:14:55 -07:00
parent
61809cd182
commit
9c9754409d
@ -415,7 +415,7 @@ func Repeat(b []byte, count int) []byte {
|
|||||||
// ToUpper returns a copy of the byte array s with all Unicode letters mapped to their upper case.
|
// ToUpper returns a copy of the byte array s with all Unicode letters mapped to their upper case.
|
||||||
func ToUpper(s []byte) []byte { return Map(unicode.ToUpper, s) }
|
func ToUpper(s []byte) []byte { return Map(unicode.ToUpper, s) }
|
||||||
|
|
||||||
// ToUpper returns a copy of the byte array s with all Unicode letters mapped to their lower case.
|
// ToLower returns a copy of the byte array s with all Unicode letters mapped to their lower case.
|
||||||
func ToLower(s []byte) []byte { return Map(unicode.ToLower, s) }
|
func ToLower(s []byte) []byte { return Map(unicode.ToLower, s) }
|
||||||
|
|
||||||
// ToTitle returns a copy of the byte array s with all Unicode letters mapped to their title case.
|
// ToTitle returns a copy of the byte array s with all Unicode letters mapped to their title case.
|
||||||
|
Loading…
Reference in New Issue
Block a user