8287e3a32d
Combine store.writeLimit and store.writeOrder into store.writeLimitAndOrder, which only requires a single call to file.Write(). This simplifies code, but it also reduces the likelihood of multiple calls to Write() increasing the likelihood of file corruption. Also combine the corresponding readLimit/readOrder functions for consistency. Change-Id: I62ed406fa2c02708465a678d18293f510f666440 |
||
---|---|---|
.. | ||
db_test.go | ||
service_test.go | ||
service.go | ||
store_test.go | ||
store.go |