Skip to content

neccohuang/goctl

Repository files navigation

goctl使用方式

安裝

go install github.com/neccohuang/goctl@latest

goctl -v
// goctl version 1.3.2 darwin/amd64

API 初次使用

goctl api go -api {$name}.api -dir {$name} -remote https://github.com/neccohuang/go-zero-template -common ./


go mod tidy


// 啟動
make run

// 新建api
make api // make api t={$serviceName}

// i18n
make lang

RPC

goctl rpc proto -src {$name}.proto -dir . -consul ttl --remote https://github.com/neccohuang/go-zero-template

go mod tidy

About

v1.3.2 custom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages