adding a route to show a single movie

This commit is contained in:
2026-07-17 19:30:10 -06:00
parent e4d0fd3f4a
commit caa26b5f12
+2
View File
@@ -18,6 +18,8 @@ func main() {
router.GET("/movies", controller.GetMovies())
router.GET("/movie/:imdb_id", controller.GetMovie())
if err := router.Run(":5180"); err != nil {
log.Fatal("failure to start the server")
}