service

package
v0.8.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2020 License: MIT Imports: 2 Imported by: 0

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 [mock]

func NewBookService

func NewBookService(impl BookServiceImpl) BookService

NewBookService return new instance of BookService [constructor]

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 [mock]

func NewMusicService added in v0.8.11

func NewMusicService(impl MusicServiceImpl) MusicService

NewMusicService return new instance of MusicService [constructor]

type MusicServiceImpl added in v0.8.11

type MusicServiceImpl struct {
	dig.In
	repository.MusicRepo
}

MusicServiceImpl is implementation of MusicService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL