1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-07 23:02:12 +02:00

Merge pull request #600 from tomatopunk/patch-1

Update README.md,Fix Windows Install Kratos
This commit is contained in:
Windfarer 2020-10-19 14:11:58 +08:00 committed by GitHub
commit 8072f24266
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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