MCPcopy
hub / github.com/cloudfoundry/cli / removeWhitespace

Function removeWhitespace

cf/api/curl_test.go:239–245  ·  view source on GitHub ↗
(body string)

Source from the content-addressed store, hash-verified

237}
238
239func removeWhitespace(body string) string {
240 body = strings.Replace(body, " ", "", -1)
241 body = strings.Replace(body, "\n", "", -1)
242 body = strings.Replace(body, "\r", "", -1)
243 body = strings.Replace(body, "\t", "", -1)
244 return body
245}

Callers 1

curl_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected