Search existing books

This commit is contained in:
2025-10-14 00:29:53 +02:00
parent f72318b5bc
commit bb0ede6abd
13 changed files with 156 additions and 3 deletions

View File

@@ -33,3 +33,10 @@ func (u userSignup) toUser() (model.User, error) {
user.Password = string(hashedPassword)
return user, nil
}
func fromBookDb(b *model.Book) bookSearchGet {
return bookSearchGet{
Title: b.Title,
Author: b.Author,
}
}