package main import ( "fmt" "net/http" "github.com/joho/godotenv" _ "github.com/mattn/go-sqlite3" ) func main() { godotenv.Load(".env") ntfy := SetupNtfyClient() db := SetupDatabase() SetupRsvpsTable(db) SetupAuth() hnd := &Handler{db, ntfy} fmt.Println("handler ready") http.ListenAndServe(":8000", hnd) }