mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 14:54:03 +03:00
There is no need to set rlimit in go 1.19
This commit is contained in:
@@ -13,17 +13,12 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/9seconds/mtg/v2/internal/cli"
|
||||
"github.com/9seconds/mtg/v2/internal/utils"
|
||||
"github.com/alecthomas/kong"
|
||||
)
|
||||
|
||||
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": getVersion(),
|
||||
|
||||
Reference in New Issue
Block a user