Update readme.md

master
Kevin Wan 3 years ago committed by GitHub
parent 7d5858e83a
commit affdab660e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,6 +119,16 @@ go get -u github.com/zeromicro/go-zero
# for Go 1.16 and later
go install github.com/zeromicro/go-zero/tools/goctl@latest
# docker for amd64 architecture
docker pull kevinwan/goctl
# run goctl like
docker run --rm -it -v `pwd`:/app kevinwan/goctl goctl --help
# docker for arm64 (M1) architecture
docker pull kevinwan/goctl:latest-arm64
# run goctl like
docker run --rm -it -v `pwd`:/app kevinwan/goctl:latest-arm64 goctl --help
```
make sure goctl is executable.

Loading…
Cancel
Save