package
1.1.7
Repository: https://github.com/melonwool/go-zero.git
Documentation: pkg.go.dev

# Functions

Category returns a const string value for rpc template category.
Clean deletes all template files.
GenTemplates is the entry for command goctl template, it will create the specified category.
NewDefaultGenerator returns an instance of DefaultGenerator.
NewDefaultRPCGenerator wraps Generator with configure.
NewRPCGenerator creates an instance for RPCGenerator.
ProtoTmpl returns an sample of a proto file.
RevertTemplate restores the deleted template files.
Update is used to update the template files, it will delete the existing old templates at first, and then create the latest template files.

# Structs

DefaultGenerator defines the environment needs of rpc service generation.
No description provided by the author
RPCGenerator defines a generator and configure.

# Interfaces

No description provided by the author
Generator defines a generator interface to describe how to generate rpc service.