package main import ( "log" "net/http" diun "awesomeProject/pkg/diunwebhook" ) func main() { http.HandleFunc("/webhook", diun.WebhookHandler) http.HandleFunc("/api/updates", diun.UpdatesHandler) http.Handle("/", http.FileServer(http.Dir("./static"))) log.Println("Listening on :8080") log.Fatal(http.ListenAndServe(":8080", nil)) }