Documentation ¶
Index ¶
- type MovieCreationMock
- type MovieCreationServiceMock
- type MovieDeleteMock
- type MovieDeleteServiceMock
- type MovieFindAllMock
- type MovieFindAllServiceMock
- type MovieFindMock
- type MovieFindServiceMock
- type MovieRedisRepositoryMock
- type MovieRepositoryMock
- func (mock *MovieRepositoryMock) Create(movie models.Movie) (err error)
- func (mock *MovieRepositoryMock) Delete(id int64) (err error)
- func (mock *MovieRepositoryMock) Exist(name string) (exist bool)
- func (mock *MovieRepositoryMock) Find(id int64) (movie models.Movie, err error)
- func (mock *MovieRepositoryMock) FindAll() (movies []models.Movie, err error)
- func (mock *MovieRepositoryMock) Update(id int64, movie models.Movie) (err error)
- type MovieUpdateMock
- type MovieUpdateServiceMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MovieCreationMock ¶
type MovieDeleteMock ¶
func (*MovieDeleteMock) Handler ¶
func (mock *MovieDeleteMock) Handler(id int64) (err error)
type MovieDeleteServiceMock ¶
func (*MovieDeleteServiceMock) Remove ¶
func (mock *MovieDeleteServiceMock) Remove(id int64) error
type MovieFindAllMock ¶
type MovieFindAllServiceMock ¶
type MovieFindMock ¶
type MovieFindServiceMock ¶
type MovieRedisRepositoryMock ¶
type MovieRepositoryMock ¶
func (*MovieRepositoryMock) Create ¶
func (mock *MovieRepositoryMock) Create(movie models.Movie) (err error)
func (*MovieRepositoryMock) Delete ¶
func (mock *MovieRepositoryMock) Delete(id int64) (err error)
func (*MovieRepositoryMock) Exist ¶
func (mock *MovieRepositoryMock) Exist(name string) (exist bool)
func (*MovieRepositoryMock) Find ¶
func (mock *MovieRepositoryMock) Find(id int64) (movie models.Movie, err error)
type MovieUpdateMock ¶
Source Files ¶
- movie_create_mock.go
- movie_create_service_mock.go
- movie_delete_mock.go
- movie_delete_service_mock.go
- movie_findAll_mock.go
- movie_findAll_service_mock.go
- movie_find_mock.go
- movie_find_service_mock.go
- movie_redis_repository_mock.go
- movie_repository_mock.go
- movie_update_mock.go
- movie_update_service_mock.go
Click to show internal directories.
Click to hide internal directories.