Refactor pt2

This commit is contained in:
Sebastian Cabrera 2024-01-16 19:29:25 -05:00
parent 3ad90eddbf
commit 2014a913af
5 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ tmp_dir = "tmp"
[build]
args_bin = []
bin = "./tmp/main"
cmd = "go build -o ./tmp/main ."
cmd = "go build -o ./tmp/main ./src/."
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata"]
exclude_file = []

View file

@ -45,7 +45,7 @@ func main() {
}
// Wait here until CTRL-C or other term signal is received.
fmt.Println("Bot is now running. Press CTRL-C to exit.")
fmt.Println("Bot is now running. Press CTRL-C to exit.")
sc := make(chan os.Signal, 1)
signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM, os.Interrupt)
<-sc

View file

@ -1 +1 @@
exit status 1exit status 1exit status 1exit status 1
exit status 1exit status 1exit status 1exit status 1exit status 1

BIN
tmp/main

Binary file not shown.