diff --git a/internal/http/handlers.go b/internal/http/handlers.go index 87c19d3..f821c6e 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -12,18 +12,18 @@ import ( ) type Handlers struct { - icecastUrl string - icecastPlaylistPath string songListLen int filelistPath string + icecastUrl string + icecastPlaylistPath string } func NewHandlers(icecastUrl, icecastPlaylistPath, filelistPath string, songListLen int) *Handlers { return &Handlers{ - icecastUrl: icecastUrl, - icecastPlaylistPath: icecastPlaylistPath, songListLen: songListLen, - filelistPath: filelistPath} + filelistPath: filelistPath, + icecastUrl: icecastUrl, + icecastPlaylistPath: icecastPlaylistPath} } func (h *Handlers) Index(w http.ResponseWriter, r *http.Request) {