Make debug mode available as option of true/false
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user