mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-30 07:59:40 -08:00
4e0c932a4f
The reality is that if we ever try to encode a Protocol Buffer and it fails, it's likely that such an error is ultimately not a runtime error and should be fixed forthwith. Thusly, we should rename ``Encoder.Encode`` to ``Encoder.MustEncode`` and drop the error return value. |
||
---|---|---|
.. | ||
test | ||
batch.go | ||
interface_test.go | ||
iterator.go | ||
leveldb.go | ||
state.go |