Logo
Explore Help
Sign In
giteacraftr.sxr08/greenlight
1
0
Fork 0
You've already forked greenlight
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
9a0cb4db1085b7b1bb6493473070ea28599d53e5
greenlight/cmd/api
History
Maxime Delporte 9a0cb4db10 Creating Movie struct inside internal/data/movies.go to be used in cmd/api/movies.go. Updating the showMovieHandler with the Movie struct.
2025-10-19 11:03:04 +02:00
..
healthcheck.go
Creating writeJSON method inside helpers.go file. Using writeJSON helper inside healthcheckHandler.
2025-10-11 21:15:50 +02:00
helpers.go
Creating writeJSON method inside helpers.go file. Using writeJSON helper inside healthcheckHandler.
2025-10-11 21:15:50 +02:00
main.go
Adding httprouter dependency to manage endpoints. Adding our routes to routes.go file facilitating endpoints management and adding POST /v1/movies and GET /v1/movies/:id endpoints. Updating main.go file removing ServeMux and add httprouter instead in app structure. Creating movies.go file to manage create and show movie endpoint.
2025-10-10 16:15:30 +02:00
movies.go
Creating Movie struct inside internal/data/movies.go to be used in cmd/api/movies.go. Updating the showMovieHandler with the Movie struct.
2025-10-19 11:03:04 +02:00
routes.go
Adding httprouter dependency to manage endpoints. Adding our routes to routes.go file facilitating endpoints management and adding POST /v1/movies and GET /v1/movies/:id endpoints. Updating main.go file removing ServeMux and add httprouter instead in app structure. Creating movies.go file to manage create and show movie endpoint.
2025-10-10 16:15:30 +02:00
Powered by Gitea Version: 1.25.2 Page: 57ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API