func strings.TrimRight
13 uses
strings (current package)
strings.go#L858: func TrimRight(s, cutset string) string {
encoding/xml
marshal.go#L341: prefix := strings.TrimRight(url, "/")
github.com/go-git/go-git/v5/plumbing/format/gitignore
pattern.go#L50: p = strings.TrimRight(p, " ")
github.com/prometheus/procfs
buddyinfo.go#L61: node := strings.TrimRight(parts[1], ",")
buddyinfo.go#L62: zone := strings.TrimRight(parts[3], ",")
github.com/yuin/goldmark/ast
inline.go#L155: fmt.Printf("%sText%s: \"%s\"\n", strings.Repeat(" ", level), fs, strings.TrimRight(string(n.Text(source)), "\n"))
inline.go#L270: fmt.Printf("%sString%s: \"%s\"\n", strings.Repeat(" ", level), fs, strings.TrimRight(string(n.Value), "\n"))
go.opencensus.io/resource
resource.go#L69: s = strings.TrimRight(strings.TrimSpace(s), ",") + ","
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
linkify.go#L265: els[len(els)-1].Text = strings.TrimRight(els[len(els)-1].Text, "\n")
golang.org/x/pkgsite/internal/index
index.go#L45: return &Client{url: strings.TrimRight(rawurl, "/"), httpClient: &http.Client{Transport: &ochttp.Transport{}}}, nil
golang.org/x/pkgsite/internal/proxy
client.go#L64: url: strings.TrimRight(u, "/"),
net/textproto
reader.go#L282: message += "\n" + strings.TrimRight(line, "\r\n")
text/template/parse
lex.go#L275: return Pos(len(s) - len(strings.TrimRight(s, spaceChars)))
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |