Mercurial > code > home > repos > gcalendarwatch
changeset 65:329144c7e711
reformat
author | drewp@bigasterisk.com |
---|---|
date | Fri, 06 Sep 2024 17:25:40 -0700 |
parents | ef42c9731057 |
children | 629d9ad289fe |
files | calsync/main.go |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/calsync/main.go Fri Sep 06 16:46:21 2024 -0700 +++ b/calsync/main.go Fri Sep 06 17:25:40 2024 -0700 @@ -66,8 +66,8 @@ r.HandleFunc("/", homePage) r.HandleFunc("/gcalendarwatch", homePage) r.HandleFunc("/gcalendarwatch/notifications", notifications.NotificationHandler).Methods("POST") - - addr:=":8080" + + addr := ":8080" log.Println("serving /gcalendarwatch/notifications on", addr) log.Fatal(http.ListenAndServe(addr, nil)) } @@ -77,9 +77,9 @@ log.Println(` ================================================== calsync - ----------------------------------------------`) + ----------------------------------------------`) } func homePage(w http.ResponseWriter, r *http.Request) { - w.Write([]byte("calsync service for calendar updates. See https://console.cloud.google.com/apis/api/calendar-json.googleapis.com/metrics?project=bigasterisk-910")) - } + w.Write([]byte("calsync service for calendar updates. See https://console.cloud.google.com/apis/api/calendar-json.googleapis.com/metrics?project=bigasterisk-910")) +}