From ed51249e8c6bb05961a143a2a0f79caf66c87e14 Mon Sep 17 00:00:00 2001 From: Shindou Mihou Date: Thu, 2 Feb 2023 23:13:47 +0800 Subject: [PATCH] wemove nyo configuration wawning --- configs/init.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/init.go b/configs/init.go index 6a63e7d..fc300b4 100644 --- a/configs/init.go +++ b/configs/init.go @@ -1,7 +1,6 @@ package configs import ( - "fmt" "gopkg.in/yaml.v2" "log" "os" @@ -12,7 +11,6 @@ var RunningConfiguration = DefaultConfiguration func Init() { bytes, err := os.ReadFile("config.yaml") if err != nil { - fmt.Println("configuration not found, using default configuration.") return } var configuration Config