mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-29 13:27:03 +02:00
Updated all import/export interfaces
This commit is contained in:
parent
729a3d0ed0
commit
ab04eb1123
12 changed files with 247 additions and 167 deletions
|
@ -98,7 +98,9 @@ func TestWrite(t *testing.T) {
|
|||
},
|
||||
},
|
||||
}
|
||||
lastTimestamp, err := scrobblerlog.Write(buffer, &log)
|
||||
err := scrobblerlog.WriteHeader(buffer, &log)
|
||||
require.NoError(t, err)
|
||||
lastTimestamp, err := scrobblerlog.Write(buffer, log.Listens)
|
||||
require.NoError(t, err)
|
||||
result := string(buffer.Bytes())
|
||||
lines := strings.Split(result, "\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue