Creating Filters struct and using it inside our listMoviesHandler
This commit is contained in:
7
internal/data/filters.go
Normal file
7
internal/data/filters.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package data
|
||||
|
||||
type Filters struct {
|
||||
Page int
|
||||
PageSize int
|
||||
Sort string
|
||||
}
|
||||
Reference in New Issue
Block a user