(val string)
| 290 | } |
| 291 | |
| 292 | func (enc *jsonEncoder) AppendString(val string) { |
| 293 | enc.addElementSeparator() |
| 294 | enc.buf.AppendByte('"') |
| 295 | enc.safeAddString(val) |
| 296 | enc.buf.AppendByte('"') |
| 297 | } |
| 298 | |
| 299 | func (enc *jsonEncoder) AppendTimeLayout(time time.Time, layout string) { |
| 300 | enc.addElementSeparator() |
no test coverage detected