Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReviewResponse ¶
type ReviewResponse struct { Id int `json:"id"` Text string `json:"text"` Rating int `json:"rating"` BookId int `json:"book_id"` Book bookRes.BookResponse UserId int `json:"user_id"` User userRes.UserInfoResponse CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
func FromDomain ¶
func FromDomain(domain reviews.Domain) ReviewResponse
func ToResponseList ¶
func ToResponseList(domains []reviews.Domain) []ReviewResponse
Click to show internal directories.
Click to hide internal directories.