func bytes.Trim
4 uses
bytes (current package)
bytes.go#L913: func Trim(s []byte, cutset string) []byte {
github.com/go-git/go-git/v5/plumbing/object
object.go#L102: s.Name = string(bytes.Trim(b[:open], " "))
github.com/prometheus/procfs
proc_status.go#L97: v = string(bytes.Trim([]byte(v), " kB"))
github.com/russross/blackfriday/v2
block.go#L734: block.Info = unescapeString(bytes.Trim(firstLine, "\n"))
![]() |
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. |