appendFloat appends a float value to the buffer.
(data float64)
| 88 | |
| 89 | // appendFloat appends a float value to the buffer. |
| 90 | func (b *buffer) appendFloat(data float64) { |
| 91 | *b = strconv.AppendFloat(*b, data, 'g', -1, 64) |
| 92 | } |
| 93 | |
| 94 | // appendBool appends a boolean value to the buffer. |
| 95 | func (b *buffer) appendBool(data bool) { |