This commit is contained in:
Balakrishnan Balasubramanian 2022-12-27 22:15:47 -05:00
parent 0354436ab6
commit 58ddf202bb

View File

@ -10,6 +10,7 @@ import (
"net/http" "net/http"
"os" "os"
"path" "path"
"runtime/debug"
"strconv" "strconv"
"strings" "strings"
"sync" "sync"
@ -51,6 +52,10 @@ func main() {
glist.DataPath = dataPath glist.DataPath = dataPath
if bi, ok := debug.ReadBuildInfo(); ok {
log.Println(bi.String())
}
log.Printf("Grocery List bot starting with datapath:%s, port:%d\n", dataPath, port) log.Printf("Grocery List bot starting with datapath:%s, port:%d\n", dataPath, port)
var chats sync.Map var chats sync.Map