Remove autogeneration of version.go

This commit is contained in:
9seconds
2018-11-02 18:54:28 +03:00
parent 1678ddbd53
commit ea97bf51c8
3 changed files with 12 additions and 25 deletions
+2 -2
View File
@@ -1,7 +1,5 @@
package main
//go:generate scripts/generate_version.sh
import (
"encoding/json"
"fmt"
@@ -22,6 +20,8 @@ import (
"github.com/9seconds/mtg/stats"
)
var version = "dev" // this has to be set by build ld flags
var (
app = kingpin.New("mtg", "Simple MTPROTO proxy.")