Update README.md,Fix Windows Install Kratos

Windows Install Kratos,Change GO111MODULE to On,Please use 'go env -w GO111MODULE=on'

Fix: GO111MODULE=on -> go env -w GO111MODULE=on
pull/600/head
flamingo 4 years ago
parent 521d240568
commit 8bc99976b9
  1. 8
      README.md

@ -33,7 +33,15 @@ Go version>=1.13
### Installation ### Installation
```shell ```shell
# Unix/Linux
GO111MODULE=on && go get -u github.com/go-kratos/kratos/tool/kratos GO111MODULE=on && go get -u github.com/go-kratos/kratos/tool/kratos
# Windows (Powershell)
go env GO111MODULE=on ; go get -u github.com/go-kratos/kratos/tool/kratos
# Windows (CMD)
go env GO111MODULE=on && go get -u github.com/go-kratos/kratos/tool/kratos
cd $GOPATH/src cd $GOPATH/src
kratos new kratos-demo kratos new kratos-demo
``` ```

Loading…
Cancel
Save