All apps/goctl

goctl

goctl

A go-zero companion code generation tool that integrates Go HTTP, Go gRPC services, database model, k8s, Dockerfile and more.

Runs as goctl|macOS, Linux, Windows|go-zero.dev

Autocomplete

Fig spec, with what the manifest adds · 83 subcommands · 1 option
Published once and never changed; check the digest before caching
sha256
5c35c7f17b577ab25236ca60ac1c67481f3f849f85ae0d4944bd6623abcd26b4
Size
54661 bytes
Subcommands83 subcommands
goctl api
Generate api related files
goctl api dart
Generate dart files for provided api in api file
goctl api doc
Generate doc files
goctl api format
Format api files
goctl api go
Generate go files for provided api in yaml file
goctl api java
Generate java files for provided api in api file
goctl api kt
Generate kotlin code for provided api file
goctl api new
Fast create api service
goctl api plugin
Custom file generator
goctl api ts
Generate ts files for provided api in api file
goctl api validate
Validate api file
goctl bug
Report a bug
goctl completion
Generate the autocompletion script for the specified shell
goctl completion bash
Generate the autocompletion script for bash
goctl completion fish
Generate the autocompletion script for fish
goctl completion powershell
Generate the autocompletion script for powershell
goctl completion zsh
Generate the autocompletion script for zsh
goctl docker
Generate Dockerfile
goctl env
Check or edit goctl environment
goctl env check
Detect goctl env and dependency tools
goctl env install
Goctl env installation
goctl kube
Generate kubernetes files
goctl kube deploy
Generate deployment yaml file
goctl migrate
Migrate from tal-tech to zeromicro
goctl model
Generate model code
goctl model mongo
Generate mongo model
goctl model mysql
Generate mysql model
goctl model mysql datasource
Generate model from datasource
goctl model mysql ddl
Generate mysql model from ddl
goctl model mysql pg
Generate postgresql model
goctl quickstart
Quickly start a project
goctl rpc
Generate rpc code
goctl rpc new
Generate rpc demo service
goctl rpc protoc
Generate grpc code
goctl rpc template
Generate proto template
goctl template
Template operation
goctl template clean
Clean the all cache templates
goctl template init
Initialize the all templates(force update)
goctl template revert
Revert the target template to the latest
goctl template update
Update template of the target category to the latest
goctl upgrade
Upgrade goctl to latest version
goctl help
Help about any command
goctl help api
Generate api related files
goctl help api dart
Generate dart files for provided api in api file
goctl help api doc
Generate doc files
goctl help api format
Format api files
goctl help api go
Generate go files for provided api in yaml file
goctl help api java
Generate java files for provided api in api file
goctl help api kt
Generate kotlin code for provided api file
goctl help api new
Fast create api service
goctl help api plugin
Custom file generator
goctl help api ts
Generate ts files for provided api in api file
goctl help api validate
Validate api file
goctl help bug
Report a bug
goctl help completion
Generate the autocompletion script for the specified shell
goctl help completion bash
Generate the autocompletion script for bash
goctl help completion fish
Generate the autocompletion script for fish
goctl help completion powershell
Generate the autocompletion script for powershell
goctl help completion zsh
Generate the autocompletion script for zsh
goctl help docker
Generate Dockerfile
goctl help env
Check or edit goctl environment
goctl help env check
Detect goctl env and dependency tools
goctl help env install
Goctl env installation
goctl help kube
Generate kubernetes files
goctl help kube deploy
Generate deployment yaml file
goctl help migrate
Migrate from tal-tech to zeromicro
goctl help model
Generate model code
goctl help model mongo
Generate mongo model
goctl help model mysql
Generate mysql model
goctl help model mysql datasource
Generate model from datasource
goctl help model mysql ddl
Generate mysql model from ddl
goctl help model mysql pg
Generate postgresql model
goctl help quickstart
Quickly start a project
goctl help rpc
Generate rpc code
goctl help rpc new
Generate rpc demo service
goctl help rpc protoc
Generate grpc code
goctl help rpc template
Generate proto template
goctl help template
Template operation
goctl help template clean
Clean the all cache templates
goctl help template init
Initialize the all templates(force update)
goctl help template revert
Revert the target template to the latest
goctl help template update
Update template of the target category to the latest
goctl help upgrade
Upgrade goctl to latest version
OptionsOn goctl itself
--help-h
Display help