func strings.HasSuffix
22 uses
strings (current package)
strings.go#L466: func HasSuffix(s, suffix string) bool {
crypto/tls
handshake_messages.go#L495: if strings.HasSuffix(m.serverName, ".") {
tls.go#L277: if len(skippedBlockTypes) == 1 && strings.HasSuffix(skippedBlockTypes[0], "PRIVATE KEY") {
tls.go#L296: if keyDERBlock.Type == "PRIVATE KEY" || strings.HasSuffix(keyDERBlock.Type, " PRIVATE KEY") {
crypto/x509
verify.go#L430: if strings.Contains(host, ":") && !strings.HasSuffix(host, "]") {
verify.go#L441: if _, err := netip.ParseAddr(host); err == nil || (strings.HasPrefix(host, "[") && strings.HasSuffix(host, "]")) {
encoding/asn1
common.go#L177: if strings.HasSuffix(t.Name(), "SET") {
github.com/coinbase/cdp-sdk/go/openapi
client.gen.go#L492: if !strings.HasSuffix(client.Server, "/") {
github.com/oapi-codegen/runtime
bindform.go#L104: omitEmpty := strings.HasSuffix(tag, ",omitempty")
mime
encodedword.go#L201: if len(word) < 8 || !strings.HasPrefix(word, "=?") || !strings.HasSuffix(word, "?=") || strings.Count(word, "?") != 4 {
net/http
client.go#L1024: if !strings.HasSuffix(sub, parent) {
fs.go#L680: if strings.HasSuffix(r.URL.Path, indexPage) {
h2_bundle.go#L7718: if strings.HasPrefix(host, "[") && strings.HasSuffix(host, "]") {
server.go#L2325: trailing := strings.HasSuffix(url, "/")
server.go#L2327: if trailing && !strings.HasSuffix(url, "/") {
server.go#L2654: if !exactMatch(n, path) && u != nil && !strings.HasSuffix(path, "/") {
server.go#L2725: if !strings.HasSuffix(path, "/") {
net/url
url.go#L532: if strings.HasSuffix(rest, "?") && strings.Count(rest, "?") == 1 {
url.go#L1211: if strings.HasPrefix(host, "[") && strings.HasSuffix(host, "]") {
url.go#L1250: if strings.HasSuffix(elem[len(elem)-1], "/") && !strings.HasSuffix(p, "/") {
vendor/golang.org/x/net/http/httpproxy
proxy.go#L369: if strings.HasSuffix(host, m.host) || (m.matchHost && host == m.host[1:]) {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |