(src string)
| 580 | var quoteCompositeReplacer = strings.NewReplacer(`\`, `\\`, `"`, `\"`) |
| 581 | |
| 582 | func quoteCompositeField(src string) string { |
| 583 | return `"` + quoteCompositeReplacer.Replace(src) + `"` |
| 584 | } |
| 585 | |
| 586 | func quoteCompositeFieldIfNeeded(src string) string { |
| 587 | if src == "" || src[0] == ' ' || src[len(src)-1] == ' ' || strings.ContainsAny(src, `(),"\`) { |
no outgoing calls
no test coverage detected