Format emits a string representation of a Duration to a Buffer truncated to microseconds.
(buf *bytes.Buffer)
| 374 | |
| 375 | // Format emits a string representation of a Duration to a Buffer truncated to microseconds. |
| 376 | func (d Duration) Format(buf *bytes.Buffer) { |
| 377 | d.FormatWithStyle(buf, IntervalStyle_POSTGRES) |
| 378 | } |
| 379 | |
| 380 | // FormatWithStyle emits a string representation of a Duration to a Buffer |
| 381 | // truncated to microseconds with a given style. |