From 40d2993b030fa246246cd7e604dca48af3327d19 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 13 May 2024 01:13:05 +0400 Subject: [PATCH] Remove commented out go func() {}. --- internal/http/dj_handlers.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/http/dj_handlers.go b/internal/http/dj_handlers.go index 2e20f0b..bc731cd 100644 --- a/internal/http/dj_handlers.go +++ b/internal/http/dj_handlers.go @@ -75,7 +75,6 @@ func (dj *DJHandlers) PlaylistNext(w http.ResponseWriter, _ *http.Request) { } } - // go func() { oggf, err := oggtag.NewOggFile(nxt) if err != nil { log.Println("cannot read an OGG file", nxt, ":", err) @@ -119,7 +118,6 @@ func (dj *DJHandlers) PlaylistNext(w http.ResponseWriter, _ *http.Request) { *dj.curSong = newSong dj.curSong.Listeners = 0 dj.curSong.PeakListeners = 0 - // }() fmt.Fprintln(w, nxt) }