Добавлен вызов runtime.GOMAXPROCS()

Обновлены зависимости
This commit is contained in:
ErickSkrauch 2017-08-23 00:01:58 +03:00
parent a2e3d28580
commit 6128c56a0c
3 changed files with 11 additions and 6 deletions

8
Gopkg.lock generated
View File

@ -107,7 +107,7 @@
branch = "master" branch = "master"
name = "github.com/spf13/cobra" name = "github.com/spf13/cobra"
packages = ["."] packages = ["."]
revision = "cb731b898346822cc0c225c28550a8a29d93c732" revision = "4a7b7e65864c064d48dce82efbbfed2bdc0bf2aa"
[[projects]] [[projects]]
branch = "master" branch = "master"
@ -122,10 +122,10 @@
version = "v1.0.0" version = "v1.0.0"
[[projects]] [[projects]]
branch = "master"
name = "github.com/spf13/viper" name = "github.com/spf13/viper"
packages = ["."] packages = ["."]
revision = "25b30aa063fc18e48662b86996252eabdcf2f0c7" revision = "25b30aa063fc18e48662b86996252eabdcf2f0c7"
version = "v1.0.0"
[[projects]] [[projects]]
branch = "master" branch = "master"
@ -143,7 +143,7 @@
branch = "master" branch = "master"
name = "golang.org/x/sys" name = "golang.org/x/sys"
packages = ["unix"] packages = ["unix"]
revision = "9f7170bcd8e9f4d3691c06401119c46a769a1e03" revision = "07c182904dbd53199946ba614a412c61d3c548f5"
[[projects]] [[projects]]
branch = "master" branch = "master"
@ -166,6 +166,6 @@
[solve-meta] [solve-meta]
analyzer-name = "dep" analyzer-name = "dep"
analyzer-version = 1 analyzer-version = 1
inputs-digest = "a224232f222d77ae5bbdce4248f82a031590b863a6f34f2dd7350ffd330278e6" inputs-digest = "75c18193e3b7f0ae90987dc2e69a73c08c4329ab0ea3839112c05d45564d09c3"
solver-name = "gps-cdcl" solver-name = "gps-cdcl"
solver-version = 1 solver-version = 1

View File

@ -14,8 +14,8 @@ import (
"github.com/mediocregopher/radix.v2/redis" "github.com/mediocregopher/radix.v2/redis"
"github.com/mediocregopher/radix.v2/util" "github.com/mediocregopher/radix.v2/util"
"elyby/minecraft-skinsystem/model"
"elyby/minecraft-skinsystem/interfaces" "elyby/minecraft-skinsystem/interfaces"
"elyby/minecraft-skinsystem/model"
) )
type RedisFactory struct { type RedisFactory struct {

View File

@ -1,7 +1,12 @@
package main package main
import "elyby/minecraft-skinsystem/cmd" import (
"runtime"
"elyby/minecraft-skinsystem/cmd"
)
func main() { func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
cmd.Execute() cmd.Execute()
} }