refactor: move shared packages up a level

This commit is contained in:
sentriz
2022-04-13 00:09:10 +01:00
parent 165904c2bb
commit 8b803ecf20
53 changed files with 65 additions and 68 deletions

11
scrobble/scrobble.go Normal file
View File

@@ -0,0 +1,11 @@
package scrobble
import (
"time"
"go.senan.xyz/gonic/db"
)
type Scrobbler interface {
Scrobble(user *db.User, track *db.Track, stamp time.Time, submission bool) error
}