diff options
| author | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2025-12-06 12:53:43 +0500 |
|---|---|---|
| committer | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2025-12-06 12:53:43 +0500 |
| commit | 4b8ef84059e772ef7636c451356680ec5b0983c4 (patch) | |
| tree | 8cabc9b8c275128fd6582cbd74d36212e49776d6 /Endpoints/Common.go | |
| parent | 5fd81183f54662fdf08549c0d635e80166c62fe9 (diff) | |
Random song endpoint
Diffstat (limited to 'Endpoints/Common.go')
| -rw-r--r-- | Endpoints/Common.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Endpoints/Common.go b/Endpoints/Common.go index b30afd0..50ffa25 100644 --- a/Endpoints/Common.go +++ b/Endpoints/Common.go @@ -4,5 +4,6 @@ import "net/http" func RegisterEndpoints() { http.HandleFunc("/api/getSongs", getSongs) + http.HandleFunc("/api/randomSong", getRandomSong) http.HandleFunc("/api/getSong", getSong) } |
