From 452d197871882b8bd5f20447d342ae8d11ffe77d Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Sun, 26 Sep 2021 17:35:07 +0800 Subject: [PATCH] update --- core/init.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/init.go b/core/init.go index cd0c6de..16a755d 100644 --- a/core/init.go +++ b/core/init.go @@ -2,6 +2,7 @@ package core import ( "bufio" + "fmt" "os" "regexp" "strings" @@ -24,7 +25,9 @@ func init() { scanner := bufio.NewScanner(file) for scanner.Scan() { line := scanner.Text() + fmt.Println(line, "---") if regexp.MustCompile(`^\s*set`).MatchString(line) { + fmt.Println(line, "+++") Senders <- &Faker{ Message: strings.Trim(line, " "), }