add equal folds
parent
d48bcdbf61
commit
425120b42c
|
@ -27,3 +27,9 @@ func newConcat(strs ...string) string {
|
||||||
return sb.String()
|
return sb.String()
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Use `EqualFold` for faster compare strings with upper, lower or mixed case:
|
||||||
|
|
||||||
|
```go
|
||||||
|
strings.EqualFold("Foo", "fOO")
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue