func strings.TrimPrefix

33 uses

	strings (current package)
		strings.go#L1122: func TrimPrefix(s, prefix string) string {

	go.pact.im/x/httprange
		metadata.go#L143: 	s = strings.TrimPrefix(s, weakETagPrefix)

	go.pact.im/x/plumb/internal/discover
		discover.go#L55: 				"//%s; the set name must be a valid Go identifier", strings.TrimPrefix(c.Text, "//"))
		discover.go#L59: 				"//%s; a plumb directive names only a set, with no trailing arguments", strings.TrimPrefix(c.Text, "//"))
		discover.go#L66: 				"//%s; the declaration already joins set %q: remove the duplicate directive", strings.TrimPrefix(c.Text, "//"), d.Name)
		discover.go#L192: 				strings.TrimPrefix(c.Text, "//"))
		discover.go#L356: 						strings.TrimPrefix(c.Text, "//"))

	go/build
		build.go#L699: 							p.ImportPath = strings.TrimPrefix(pathpkg.Join(sub, "vendor", path), "src/")

	go/doc
		doc.go#L178: 			r := strings.TrimPrefix(f.Recv, "*")
		example.go#L651: 			ids[strings.TrimPrefix(nameWithoutInst(m.Recv), "*")+"_"+m.Name] = &m.Examples
		reader.go#L1006: 	base = strings.TrimPrefix(base, "go-")

	go/doc/comment
		parse.go#L528: 		line = strings.TrimPrefix(line, prefix)
		parse.go#L852: 	text = strings.TrimPrefix(text, "*")

	go/printer
		comment.go#L48: 			b.WriteString(strings.TrimPrefix(after, " "))

	golang.org/x/exp/apidiff
		apidiff.go#L104: 	return strings.TrimPrefix(p.Path(), m.Path)

	golang.org/x/net/http2
		server.go#L2686: 		trailerKey := strings.TrimPrefix(k, TrailerPrefix)

	golang.org/x/net/internal/httpcommon
		request.go#L106: 			path = strings.TrimPrefix(path, req.URL.Scheme+"://"+host)

	golang.org/x/tools/internal/pkgbits
		sync.go#L18: 		name = strings.TrimPrefix(name, "cmd/compile/internal/noder.")

	google.golang.org/grpc
		trace.go#L38: 	m = strings.TrimPrefix(m, "/") // remove leading slash

	google.golang.org/grpc/internal/resolver/dns
		dns_resolver.go#L317: 	sc := canaryingSC(strings.TrimPrefix(res, txtAttribute))

	google.golang.org/grpc/resolver
		resolver.go#L292: 	return strings.TrimPrefix(endpoint, "/")

	google.golang.org/protobuf/internal/encoding/tag
		tag.go#L121: 		tag = strings.TrimPrefix(tag[i:], ",")

	google.golang.org/protobuf/internal/impl
		legacy_enum.go#L26: 		enumName = strings.TrimPrefix(enumName, protoPkg+".")

	google.golang.org/protobuf/reflect/protoregistry
		registry.go#L202: 	pkgName := strings.TrimSuffix(strings.TrimPrefix(path, "google/protobuf/"), ".proto")

	net/http
		fs.go#L470: 	return strings.TrimPrefix(a, "W/") == strings.TrimPrefix(b, "W/")
		fs.go#L891: 		name = strings.TrimPrefix(name, "/")
		h2_bundle.go#L6792: 		trailerKey := strings.TrimPrefix(k, http2TrailerPrefix)
		response.go#L256: 		text = strings.TrimPrefix(text, strconv.Itoa(r.StatusCode)+" ")
		server.go#L2339: 		p := strings.TrimPrefix(r.URL.Path, prefix)
		server.go#L2340: 		rp := strings.TrimPrefix(r.URL.RawPath, prefix)

	net/http/internal/httpcommon
		httpcommon.go#L257: 			path = strings.TrimPrefix(path, req.URL.Scheme+"://"+host)

	testing
		testing.go#L1376: 	pkg := strings.TrimPrefix(c.importPath, c.modulePath+"/")