Renamed interfaces ListenImport|Export to ListensImport|Export

This commit is contained in:
Philipp Wolfer 2023-11-12 18:33:44 +01:00
parent baed52dacc
commit 516de905bd
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
4 changed files with 11 additions and 11 deletions

View file

@ -31,11 +31,11 @@ type Backend interface {
FromConfig(config *viper.Viper) Backend
}
type ListenExport interface {
type ListensExport interface {
ExportListens(oldestTimestamp time.Time) ([]Listen, error)
}
type ListenImport interface {
type ListensImport interface {
ImportListens(listens []Listen, oldestTimestamp time.Time) (ImportResult, error)
}