IdentityMaybeQuote
(quote byte, ident string)
| 74 | |
| 75 | // IdentityMaybeQuote |
| 76 | func IdentityMaybeQuote(quote byte, ident string) string { |
| 77 | buf := bytes.Buffer{} |
| 78 | IdentityMaybeQuoteStrictBuf(&buf, quote, ident) |
| 79 | return buf.String() |
| 80 | } |
| 81 | |
| 82 | // IdentityMaybeEscape Quote an identity/literal |
| 83 | // if need be (has illegal characters or spaces) |