func bytes.HasSuffix
9 uses
bytes (current package)
bytes.go#L546: func HasSuffix(s, suffix []byte) bool {
bytes.go#L813: if HasSuffix(s, suffix) {
encoding/pem
pem.go#L102: if !bytes.HasSuffix(typeLine, pemEndOfLine) {
pem.go#L159: !bytes.HasSuffix(endTrailer, pemEndOfLine) {
golang.org/x/tools/txtar
archive.go#L124: if !(bytes.HasSuffix(data, markerEnd) && len(data) >= len(marker)+len(markerEnd)) {
mime/quotedprintable
reader.go#L90: hasLF := bytes.HasSuffix(r.line, lf)
reader.go#L91: hasCR := bytes.HasSuffix(r.line, crlf)
reader.go#L94: if bytes.HasSuffix(r.line, softSuffix) {
net/http
transfer.go#L898: if bytes.HasSuffix(buf, doubleCRLF) {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)