AddQuotes surrounds given string with quotes, also escaping any contained quotes
(str string)
| 229 | // AddQuotes surrounds given string with quotes, |
| 230 | // also escaping any contained quotes |
| 231 | func AddQuotes(str string) string { |
| 232 | return `"` + EscapeQuotes(str) + `"` |
| 233 | } |
| 234 | |
| 235 | // IsBracket returns true if the given token is a bracket delimiter: |
| 236 | // paren, brace, bracket |
no test coverage detected