collinenlucy.nl/server/main.go

19 lines
236 B
Go
Raw Normal View History

2025-06-22 21:59:09 +02:00
package main
import (
"net/http"
_ "github.com/mattn/go-sqlite3"
)
func main() {
ntfy := SetupNtfyClient()
db := SetupDatabase()
SetupRsvpsTable(db)
2025-06-26 16:16:33 +02:00
SetupAuth()
2025-06-22 21:59:09 +02:00
hnd := &Handler{db, ntfy}
http.ListenAndServe(":8000", hnd)
}