diff --git a/.air.toml b/.air.toml index 49468ed..9197b00 100644 --- a/.air.toml +++ b/.air.toml @@ -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 = [] diff --git a/callbacks.go b/src/callbacks.go similarity index 100% rename from callbacks.go rename to src/callbacks.go diff --git a/main.go b/src/main.go similarity index 95% rename from main.go rename to src/main.go index 02f5229..516f706 100644 --- a/main.go +++ b/src/main.go @@ -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 diff --git a/tmp/build-errors.log b/tmp/build-errors.log index 40b5ed1..1cada71 100644 --- a/tmp/build-errors.log +++ b/tmp/build-errors.log @@ -1 +1 @@ -exit status 1exit status 1exit status 1exit status 1 \ No newline at end of file +exit status 1exit status 1exit status 1exit status 1exit status 1 \ No newline at end of file diff --git a/tmp/main b/tmp/main index 265acae..722926c 100755 Binary files a/tmp/main and b/tmp/main differ