appendTime appends a time value to the buffer, wrapping it in quotes, ([time.DateTime] always contains a space)
(val time.Time)
| 96 | // appendTime appends a time value to the buffer, wrapping it in quotes, |
| 97 | // ([time.DateTime] always contains a space) |
| 98 | func (s *formatterCommon) appendTime(val time.Time) { |
| 99 | s.buf.append('"') |
| 100 | s.buf.appendStringRaw(val.Format(time.DateTime)) |
| 101 | s.buf.append('"') |
| 102 | } |
| 103 | |
| 104 | // appendAny appends a value of any type to the buffer, applying quoting rules as necessary. |
| 105 | func (s *formatterCommon) appendAny(val any, forceQuote bool) { |
no test coverage detected