AppendInt appends an integer to the underlying buffer (assuming base 10).
(i int64)
| 54 | |
| 55 | // AppendInt appends an integer to the underlying buffer (assuming base 10). |
| 56 | func (b *Buffer) AppendInt(i int64) { |
| 57 | b.bs = strconv.AppendInt(b.bs, i, 10) |
| 58 | } |
| 59 | |
| 60 | // AppendTime appends the time formatted using the specified layout. |
| 61 | func (b *Buffer) AppendTime(t time.Time, layout string) { |