Initial commit

This commit is contained in:
2025-05-22 18:08:15 +02:00
commit 364ffa15de
33 changed files with 900 additions and 0 deletions

15
radio/init.go Normal file
View File

@@ -0,0 +1,15 @@
package radio
import (
"embed"
"fmt"
"net/http"
)
//go:embed templates/*
var content embed.FS
func InitHttpHandlers() {
prefix := "/radio/"
http.HandleFunc(fmt.Sprint(prefix, "trains"), trains)
}