Fixes for obfuscated2

This commit is contained in:
9seconds
2021-03-18 17:15:55 +03:00
parent 0ad2d61742
commit 0330a0e5cd
14 changed files with 335 additions and 19 deletions
+5
View File
@@ -5,6 +5,7 @@ import (
"time"
"github.com/9seconds/mtg/v2/cli"
"github.com/9seconds/mtg/v2/utils"
"github.com/alecthomas/kong"
)
@@ -13,6 +14,10 @@ var version = "dev" // has to be set by ldflags
func main() {
rand.Seed(time.Now().UTC().UnixNano())
if err := utils.SetLimits(); err != nil {
panic(err)
}
cli := &cli.CLI{}
ctx := kong.Parse(cli, kong.Vars{
"version": version,