From de6aa076f038761cebb6826d37d1c9e0935195c7 Mon Sep 17 00:00:00 2001 From: Unbewohnte <65883674+Unbewohnte@users.noreply.github.com> Date: Sat, 10 Apr 2021 18:10:11 +0300 Subject: [PATCH] Add files via upload --- main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index c3102eb..1d0e4d0 100644 --- a/main.go +++ b/main.go @@ -347,8 +347,11 @@ func (dbHandler *randomDataHandler) handleSpecific(w http.ResponseWriter, r *htt } } -func main() { +func init() { InitLogs() +} + +func main() { databaseHandler := newDatabaseHandler()