added rating books
This commit is contained in:
13
internal/routes/bookputupdate.go
Normal file
13
internal/routes/bookputupdate.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package routes
|
||||
|
||||
import "git.artlef.fr/PersonalLibraryManager/internal/appcontext"
|
||||
|
||||
type bookPutUpdate struct {
|
||||
Title string `json:"title" binding:"required,max=300"`
|
||||
Author string `json:"author" binding:"max=100"`
|
||||
CoverID uint `json:"coverId"`
|
||||
}
|
||||
|
||||
func PutBookHandler(ac appcontext.AppContext) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user