(id string)
| 194 | } |
| 195 | } |
| 196 | func (w *keywordDialect) WriteIdentity(id string) { |
| 197 | _, isKeyword := w.kw[strings.ToLower(id)] |
| 198 | if isKeyword { |
| 199 | io.WriteString(w, LiteralQuoteEscape(rune(w.IdentityQuote), id)) |
| 200 | return |
| 201 | } |
| 202 | w.defaultDialect.WriteIdentity(id) |
| 203 | } |
| 204 | |
| 205 | func NewFingerPrinter() DialectWriter { |
| 206 | return &fingerprintDialect{NewDefaultWriter(), "?"} |
nothing calls this directly
no test coverage detected