This commit is contained in:
mei
2025-10-07 17:43:50 +08:00
parent 950e2fada5
commit 98b193030c
3 changed files with 24 additions and 25 deletions
+1
View File
@@ -45,6 +45,7 @@ type Basic struct {
CauseStop string `json:"cause_stop"`
}
// Get config from json file
func GetConfig() (config Config, err error) {
content, err := os.ReadFile("config.json")
if err != nil {