This commit is contained in:
2025-03-24 19:17:39 +00:00
commit cf8cd691dc
10 changed files with 232 additions and 0 deletions

16
main.go Normal file
View File

@@ -0,0 +1,16 @@
package main
import (
"log"
"net/http"
"synlotto-website/handlers"
)
func main() {
http.HandleFunc("/", handlers.Home)
http.HandleFunc("/new", handlers.NewDraw)
http.HandleFunc("/submit", handlers.Submit)
log.Println("🚀 Lotto Tracker running on http://localhost:8080")
log.Fatal(http.ListenAndServe(":8080", nil))
}