feat: refactoring

This commit is contained in:
Elton Minetto
2020-06-30 11:16:55 -03:00
parent 3cd31fe900
commit 74d7384f47
20 changed files with 85 additions and 94 deletions
+18
View File
@@ -0,0 +1,18 @@
package book
import (
"time"
"github.com/eminetto/clean-architecture-go-v2/domain/entity"
)
//Book data
type Book struct {
ID entity.ID
Title string
Author string
Pages int
Quantity int
CreatedAt time.Time
UpdatedAt time.Time
}