WriteIdentity writes identity with escaping if needed
(i string)
| 98 | |
| 99 | // WriteIdentity writes identity with escaping if needed |
| 100 | func (w *defaultDialect) WriteIdentity(i string) { |
| 101 | if len(i) == 1 && i == "*" { |
| 102 | w.WriteByte('*') |
| 103 | return |
| 104 | } |
| 105 | IdentityMaybeEscapeBuf(&w.Buffer, w.IdentityQuote, i) |
| 106 | } |
| 107 | |
| 108 | // WriteLeftRightIdentity writes identity with escaping if needed |
| 109 | func (w *defaultDialect) WriteLeftRightIdentity(l, r string) { |
no test coverage detected