From 9964093b033156481a6a23e048dd6986825f6121 Mon Sep 17 00:00:00 2001 From: "nedim.uka" Date: Thu, 16 Sep 2021 18:33:33 +0200 Subject: [PATCH] code cleanup --- main.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/main.go b/main.go index 39be5be..b9cea87 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "log" "time" @@ -9,8 +8,6 @@ import ( xmppService "github.com/xmpploadtesting/services" ) -var layout = "2006-01-02T15:04:05.000Z" - func main() { // LOAD APPLICATION CONFIGURATION @@ -36,13 +33,6 @@ func main() { return } - str := "2014-11-12T11:45:26.371Z" - t, err := time.Parse(layout, str) - if err != nil { - fmt.Println(err) - } - fmt.Println(t) - }(xmppClient) }