From e410e9876cea27bca14c8a828cbb3f26a0f5c437 Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Fri, 5 Apr 2024 16:51:49 +0300 Subject: [PATCH] Refactor --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 5fe7d9c..2425a14 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ func main() { // load .env err := godotenv.Load(".env") if err != nil { - log.Fatalf("Error loading .env file") + log.Fatalf("error loading .env file") } // test config read @@ -60,7 +60,7 @@ func main() { http.HandleFunc("/webhook", handleWebhook) // listen server - fmt.Println("Webhook server listening on " + os.Getenv("LISTEN")) + fmt.Println("webhook server listening on " + os.Getenv("LISTEN")) err = http.ListenAndServe(os.Getenv("LISTEN"), nil) if err != nil { log.Fatalf(err.Error())