Creating Filters struct and using it inside our listMoviesHandler

This commit is contained in:
Maxime Delporte
2025-11-11 10:47:25 +01:00
parent 041d302a79
commit bf7c53e565
2 changed files with 13 additions and 8 deletions

7
internal/data/filters.go Normal file
View File

@@ -0,0 +1,7 @@
package data
type Filters struct {
Page int
PageSize int
Sort string
}