WriteLiteral writes literal with escapes if needed
(l string)
| 89 | |
| 90 | // WriteLiteral writes literal with escapes if needed |
| 91 | func (w *defaultDialect) WriteLiteral(l string) { |
| 92 | if len(l) == 1 && l == "*" { |
| 93 | w.WriteByte('*') |
| 94 | return |
| 95 | } |
| 96 | LiteralQuoteEscapeBuf(&w.Buffer, rune(w.LiteralQuote), l) |
| 97 | } |
| 98 | |
| 99 | // WriteIdentity writes identity with escaping if needed |
| 100 | func (w *defaultDialect) WriteIdentity(i string) { |
no test coverage detected