remove fmt module

This commit is contained in:
Tom Andrade 2019-05-01 01:11:35 +02:00
parent bcb1c5a641
commit 782dc60a41
Signed by: wolvie
GPG Key ID: 31AAB07872E82669

@ -3,7 +3,6 @@ package main
import (
"encoding/json"
"flag"
"fmt"
"html/template"
"io/ioutil"
"log"
@ -199,7 +198,8 @@ func main() {
version := flag.Bool("v", false, "prints current version")
flag.Parse()
if *version {
fmt.Println(appVersion)
log.SetFlags(0)
log.Println(appVersion)
os.Exit(0)
}