Sign inSign up

tianying484/goctl

By tianying484

Updated over 4 years ago

gozero goctl docker tool

Image
0

290

tianying484/goctl repository overview

goctl docker 1.3.3

GOCTL_OS=linux

GOCTL_ARCH=amd64

GOCTL_HOME=/root/.goctl

GOCTL_DEBUG=False

GOCTL_CACHE=/root/.goctl/cache

GOCTL_VERSION=1.3.3

PROTOC_VERSION=3.18.1

PROTOC_GEN_GO_VERSION=v1.28.0

PROTO_GEN_GO_GRPC_VERSION=1.1.0

how to use this docker
goctl api create
docker run --rm -v $(pwd):$(pwd) -w $(pwd)  tianying484/goctl:1.3.3 goctl api go -api ./api/issue/issue.api -dir ./issue-web
goctl rpc create
docker run --rm -v $(pwd):$(pwd) -w $(pwd)  tianying484/goctl:1.3.3 goctl rpc protoc ./api/issue.proto --go_out=./pb --go-grpc_out=./pb --zrpc_out=.
docker run --rm -v $(pwd):$(pwd) -w $(pwd)  tianying484/goctl goctl docker -go issue.go

Tag summary

Content type

Image

Digest

Size

210.6 MB

Last updated

over 4 years ago

docker pull tianying484/goctl