From 38b7860096b6aa7c7122c97132f00334a23b62d8 Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Thu, 14 Apr 2016 10:39:12 +0800 Subject: [PATCH] Fix example in schema README We should only download dependence without installing, otherwise we'll probably get error: go install: no install location for directory /home/qhuang/specs/schema outside GOPATH For more details see: go help gopath Signed-off-by: Qiang Huang --- schema/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/README.md b/schema/README.md index 592ba610..db7bfb0d 100644 --- a/schema/README.md +++ b/schema/README.md @@ -20,7 +20,7 @@ There is also included a simple utility for facilitating validation of a ```bash export GOPATH=`mktemp -d` -go get ./... +go get -d ./... go build . rm -rf $GOPATH ```