Documentation ¶
Index ¶
- type GenreRepo
- func (sr *GenreRepo) Create(ctx context.Context, genre_name string) error
- func (sr *GenreRepo) Delete(ctx context.Context, genre_id string) error
- func (ur *GenreRepo) GetAll(ctx context.Context) ([]entity.Genre, error)
- func (sr *GenreRepo) GetById(ctx context.Context, genre_id string) (entity.Genre, error)
- func (sr *GenreRepo) Update(ctx context.Context, newGenre entity.Genre) error
- type MovieRepo
- func (ur *MovieRepo) Create(ctx context.Context, movie entity.Movie) error
- func (ur *MovieRepo) Delete(ctx context.Context, movie_id string) error
- func (ur *MovieRepo) GetAll(ctx context.Context) ([]entity.Movie, error)
- func (ur *MovieRepo) GetById(ctx context.Context, movie_id string) (entity.Movie, error)
- func (ur *MovieRepo) Update(ctx context.Context, movie_id string, movie entity.Movie) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenreRepo ¶
GenreRepo -.
Click to show internal directories.
Click to hide internal directories.