code cleanup

This commit is contained in:
2021-09-16 18:33:33 +02:00
parent 9ccd413399
commit 9964093b03

10
main.go
View File

@@ -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)
}