From 91fd50fe10807e5351a40a6030aafef31137f4f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ken-H=C3=A5vard=20Lieng?= Date: Sat, 6 Oct 2018 09:15:11 +0200 Subject: [PATCH] Make gen:install work outside GOPATH --- client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index c59433fb..e16980cd 100644 --- a/client/package.json +++ b/client/package.json @@ -78,7 +78,7 @@ "test": "jest", "test:verbose": "jest --verbose", "test:watch": "jest --watch", - "gen:install": "go get -u github.com/andyleap/gencode github.com/mailru/easyjson/... github.com/SlinSo/egon/cmd/egon", + "gen:install": "GO111MODULE=off go get -u github.com/andyleap/gencode github.com/mailru/easyjson/... github.com/SlinSo/egon/cmd/egon", "gen:binary": "gencode go -package storage -schema ../storage/storage.schema -unsafe", "gen:json": "easyjson -all -lower_camel_case -omit_empty ../server/json.go ../server/index_data.go", "gen:template": "egon -s -m ../server"