rename book package to media

This commit is contained in:
2022-03-05 10:58:15 -05:00
parent c9b70f02e7
commit 98584bbef6
8 changed files with 41 additions and 38 deletions

View File

@@ -8,10 +8,10 @@ import (
"net/http"
"strings"
"git.yetaga.in/alazyreader/library/book"
"git.yetaga.in/alazyreader/library/config"
"git.yetaga.in/alazyreader/library/database"
"git.yetaga.in/alazyreader/library/frontend"
"git.yetaga.in/alazyreader/library/media"
"github.com/kelseyhightower/envconfig"
)
@@ -23,7 +23,7 @@ func max(a, b int) int {
}
type Library interface {
GetAllBooks(context.Context) ([]book.Book, error)
GetAllBooks(context.Context) ([]media.Book, error)
}
type Router struct {