tmp
This commit is contained in:
		
							
								
								
									
										5
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								main.go
									
									
									
									
									
								
							@@ -10,6 +10,7 @@ import (
 | 
			
		||||
	"net/http"
 | 
			
		||||
	"os"
 | 
			
		||||
	"path"
 | 
			
		||||
	"runtime/debug"
 | 
			
		||||
	"strconv"
 | 
			
		||||
	"strings"
 | 
			
		||||
	"sync"
 | 
			
		||||
@@ -51,6 +52,10 @@ func main() {
 | 
			
		||||
 | 
			
		||||
	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)
 | 
			
		||||
 | 
			
		||||
	var chats sync.Map
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user