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

View File

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