Make debug mode available as option of true/false

This commit is contained in:
2024-09-14 03:11:52 +02:00
parent c48c9f2e30
commit b4d07821f3
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -11,6 +11,7 @@ type Config struct {
ChatID string `json:"chat_id"`
GeoIP_City string `json:"geoip_city"`
GeoIP_ASN string `json:"geoip_asn"`
Debug bool `json:"debug"`
}
func LoadConfig(file string) (Config, error) {