From 3cc5fc9d50151c1481142d082439e10644e523fb Mon Sep 17 00:00:00 2001 From: Hatsune Patrick Date: Tue, 10 Sep 2024 13:55:10 -0700 Subject: [PATCH] Fixed video id issue --- main.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/main.go b/main.go index 09d23ae..2ba5640 100644 --- a/main.go +++ b/main.go @@ -23,11 +23,6 @@ type Index struct { Nav bool } -type responseWriter struct { - http.ResponseWriter - status int -} - type GalleryItems struct { URL string ID int @@ -91,7 +86,7 @@ var socialItems = []SocialItems{ } var videoItems = []VideoItems{ - {"/src/assets/videos/orange-cat.mp4", 2, "Orange Cat", "Cute little orange cat that my friend has!! Hes so cute lol.", "/src/assets/video_thumbnails/orange-cat.png"}, + {"/src/assets/videos/orange-cat.mp4", 1, "Orange Cat", "Cute little orange cat that my friend has!! Hes so cute lol.", "/src/assets/video_thumbnails/orange-cat.png"}, } func renderTemplate(w http.ResponseWriter, tmpl string, data *Index, nav bool) {