go.mod: vendor aws-sdk-v2
Removes the v1 aws sdk.
This commit is contained in:
parent
f27f9a2f80
commit
5e3bc8a705
1523 changed files with 628224 additions and 358932 deletions
11
vendor/github.com/aws/aws-sdk-go-v2/internal/strings/strings.go
generated
vendored
Normal file
11
vendor/github.com/aws/aws-sdk-go-v2/internal/strings/strings.go
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package strings
|
||||
|
||||
import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// HasPrefixFold tests whether the string s begins with prefix, interpreted as UTF-8 strings,
|
||||
// under Unicode case-folding.
|
||||
func HasPrefixFold(s, prefix string) bool {
|
||||
return len(s) >= len(prefix) && strings.EqualFold(s[0:len(prefix)], prefix)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue