refactor: move shared packages up a level
This commit is contained in:
11
scrobble/scrobble.go
Normal file
11
scrobble/scrobble.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user