test: add unit tests

This commit is contained in:
rramiachraf
2024-03-06 20:53:29 +01:00
parent c8747c0182
commit afc0347a1b
19 changed files with 358 additions and 31 deletions

View File

@ -12,7 +12,7 @@ import (
"github.com/sirupsen/logrus"
)
func Lyrics(l *logrus.Logger) http.HandlerFunc {
func lyrics(l *logrus.Logger) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
id := mux.Vars(r)["id"]