feat: add handlers - WIP
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package presenter
|
||||
|
||||
import (
|
||||
"github.com/eminetto/clean-architecture-go-v2/domain/entity"
|
||||
)
|
||||
|
||||
//Book data
|
||||
type Book struct {
|
||||
ID entity.ID `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Author string `json:"author"`
|
||||
Pages int `json:"pages"`
|
||||
Quantity int `json:"quantity"`
|
||||
}
|
||||
Reference in New Issue
Block a user