- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TrimSpace (0.18 sec)
-
docs/debugging/xl-meta/main.go
b0 := "" if ndjson { b, _ := json.Marshal(file) b0 = fmt.Sprintf("%s: ", string(b)) } b, err := decode(r, file) if err != nil { return err } b = bytes.TrimSpace(b) if !ndjson { b = bytes.TrimFunc(b, func(r rune) bool { return r == '{' || r == '}' || r == '\n' || r == '\r' }) } toPrint = append(toPrint, fmt.Sprintf("%s%s", b0, string(b)))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 17:56:22 GMT 2024 - 20.2K bytes - Viewed (1)