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
type MusicService ¶ added in v0.8.11
type MusicService interface {
repository.MusicRepo
}
MusicService contain logic for MusicController
func NewMusicService ¶ added in v0.8.11
func NewMusicService(impl MusicServiceImpl) MusicService
NewMusicService return new instance of MusicService
type MusicServiceImpl ¶ added in v0.8.11
type MusicServiceImpl struct {
dig.In
repository.MusicRepo
}
MusicServiceImpl is implementation of MusicService
Click to show internal directories.
Click to hide internal directories.