Create share table and repository. (#930)

* Add share table and repository

* Add datastore mock

* Try fixing indent

* Try fixing indent - 2

* Try fixing indent - 3

* Implement rest.Repository and rest.Persistance

* Renew date

* Better error handling

* Improve field name

* Fix json name conventionally
This commit is contained in:
Yash Jipkate
2021-05-30 21:20:35 +05:30
committed by GitHub
parent 675cbe11b3
commit 327c259a3d
6 changed files with 168 additions and 0 deletions
+1
View File
@@ -28,6 +28,7 @@ type DataStore interface {
Playlist(ctx context.Context) PlaylistRepository
PlayQueue(ctx context.Context) PlayQueueRepository
Property(ctx context.Context) PropertyRepository
Share(ctx context.Context) ShareRepository
User(ctx context.Context) UserRepository
Transcoding(ctx context.Context) TranscodingRepository
Player(ctx context.Context) PlayerRepository