implement reporter

also introduce gomock and tests
This commit is contained in:
2025-11-11 16:35:05 +00:00
parent 38113f21af
commit 7a38ae1696
10 changed files with 493 additions and 78 deletions

View File

@@ -56,7 +56,7 @@ const (
LimitSell = "limit sell"
)
func (rr RecordReader) ReadRecord() (Record, error) {
func (rr RecordReader) ReadRecord() (internal.Record, error) {
for {
raw, err := rr.reader.Read()
if err != nil {