Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MovieRepository ¶
type MovieRepository struct {
// contains filtered or unexported fields
}
func NewMovieRepository ¶
func NewMovieRepository(mgc *mgo.Collection) *MovieRepository
func (*MovieRepository) Delete ¶
func (r *MovieRepository) Delete(id string) error
func (*MovieRepository) GetAll ¶
func (r *MovieRepository) GetAll() (movies []models.Movie)
Click to show internal directories.
Click to hide internal directories.