Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookService ¶
type BookService interface {
repository.BookRepo
}
BookService contain logic for Book Controller
func NewBookService ¶
func NewBookService(impl BookServiceImpl) BookService
NewBookService return new instance of BookService
type BookServiceImpl ¶
type BookServiceImpl struct {
dig.In
repository.BookRepo
}
BookServiceImpl is implementation of BookService
Click to show internal directories.
Click to hide internal directories.