Documentation ¶
Index ¶
- type Movie
- type MovieModel
- func (m *MovieModel) Create(data forms.CreateMovieCommand) error
- func (m *MovieModel) Delete(id string) (err error)
- func (m *MovieModel) Find() (list []Movie, err error)
- func (m *MovieModel) Get(id string) (movie Movie, err error)
- func (m *MovieModel) Update(id string, data forms.UpdateMovieCommand) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MovieModel ¶
type MovieModel struct{}
func (*MovieModel) Create ¶
func (m *MovieModel) Create(data forms.CreateMovieCommand) error
func (*MovieModel) Delete ¶
func (m *MovieModel) Delete(id string) (err error)
func (*MovieModel) Find ¶
func (m *MovieModel) Find() (list []Movie, err error)
func (*MovieModel) Update ¶
func (m *MovieModel) Update(id string, data forms.UpdateMovieCommand) (err error)
Click to show internal directories.
Click to hide internal directories.