func strings.HasSuffix

24 uses

	strings (current package)
		strings.go#L472: func HasSuffix(s, suffix string) bool {
		strings.go#L1053: 	if HasSuffix(s, suffix) {
		strings.go#L1301: 	if !HasSuffix(s, suffix) {

	crypto/tls
		handshake_messages.go#L448: 				if strings.HasSuffix(m.serverName, ".") {
		tls.go#L267: 		if len(skippedBlockTypes) == 1 && strings.HasSuffix(skippedBlockTypes[0], "PRIVATE KEY") {
		tls.go#L286: 		if keyDERBlock.Type == "PRIVATE KEY" || strings.HasSuffix(keyDERBlock.Type, " PRIVATE KEY") {

	crypto/x509
		verify.go#L424: 	if strings.Contains(host, ":") && !strings.HasSuffix(host, "]") {
		verify.go#L432: 	if strings.HasPrefix(host, "[") && strings.HasSuffix(host, "]") ||

	encoding/asn1
		common.go#L177: 		if strings.HasSuffix(t.Name(), "SET") {

	github.com/gotd/td/telegram
		invoke.go#L57: 		if rpcErr, ok := tgerr.As(err); ok && strings.HasSuffix(rpcErr.Type, "_MIGRATE") {

	golang.org/x/net/proxy
		per_host.go#L75: 		if strings.HasSuffix(host, zone) {
		per_host.go#L140: 	if strings.HasSuffix(zone, ".") {
		per_host.go#L151: 	if strings.HasSuffix(host, ".") {

	mime
		encodedword.go#L201: 	if len(word) < 8 || !strings.HasPrefix(word, "=?") || !strings.HasSuffix(word, "?=") || strings.Count(word, "?") != 4 {

	net/http
		client.go#L1020: 	if !strings.HasSuffix(sub, parent) {
		fs.go#L609: 	if strings.HasSuffix(r.URL.Path, indexPage) {
		h2_bundle.go#L7619: 	if strings.HasPrefix(host, "[") && strings.HasSuffix(host, "]") {
		server.go#L2222: 			trailing := strings.HasSuffix(url, "/")
		server.go#L2224: 			if trailing && !strings.HasSuffix(url, "/") {

	net/url
		url.go#L524: 	if strings.HasSuffix(rest, "?") && strings.Count(rest, "?") == 1 {
		url.go#L1167: 	if strings.HasPrefix(host, "[") && strings.HasSuffix(host, "]") {
		url.go#L1206: 	if strings.HasSuffix(elem[len(elem)-1], "/") && !strings.HasSuffix(p, "/") {

	vendor/golang.org/x/net/http/httpproxy
		proxy.go#L366: 	if strings.HasSuffix(host, m.host) || (m.matchHost && host == m.host[1:]) {