move models into db package

This commit is contained in:
sentriz
2020-02-19 20:08:37 +00:00
parent e67588623b
commit a42edc3441
23 changed files with 133 additions and 145 deletions

View File

@@ -1,8 +1,8 @@
package spec
import "senan.xyz/g/gonic/model"
import "senan.xyz/g/gonic/db"
func NewPlaylist(p *model.Playlist) *Playlist {
func NewPlaylist(p *db.Playlist) *Playlist {
return &Playlist{
ID: p.ID,
Name: p.Name,