Documentation ¶
Index ¶
- type Book
- func (s *Book) Create(params dto.BookCreateRequest) error
- func (s *Book) Delete(bookId string) error
- func (s *Book) Detail(bookId string) (res dto.BookDetailResponse, err error)
- func (s *Book) Read(params dto.BookRequest) (res []dto.BookResponse, total int64, err error)
- func (s *Book) Update(bookId string, params dto.BookCreateRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct {
// contains filtered or unexported fields
}
func NewBookService ¶
func (*Book) Read ¶
func (s *Book) Read(params dto.BookRequest) (res []dto.BookResponse, total int64, err error)
Click to show internal directories.
Click to hide internal directories.