mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-17 21:07:54 +02:00
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
This commit is contained in:
parent
521d240568
commit
8bc99976b9
@ -33,7 +33,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 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
|
||||
kratos new kratos-demo
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user