Documentation ¶
Overview ¶
Package patch is command set for patching service code.
Index ¶
- func AdaptMonoRepoCommand() *cobra.Command
- func AddSpecialTypesCommand() *cobra.Command
- func CopyProtoCommand() *cobra.Command
- func DeleteJSONOmitemptyCommand() *cobra.Command
- func GenMysqlInitCommand() *cobra.Command
- func GenTypesPbCommand() *cobra.Command
- func GenerateDBInitCommand() *cobra.Command
- func ModifyDuplicateErrCodeCommand() *cobra.Command
- func ModifyDuplicateNumCommand() *cobra.Command
- func ModifyProtoPackageCommand() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptMonoRepoCommand ¶
AdaptMonoRepoCommand Adapt to mono-repo command
func AddSpecialTypesCommand ¶
AddSpecialTypesCommand add common special types that proto files depend on Deprecated: This command has been discarded
func CopyProtoCommand ¶
CopyProtoCommand copy proto file from the grpc service directory
func DeleteJSONOmitemptyCommand ¶
DeleteJSONOmitemptyCommand delete json omitempty
func GenMysqlInitCommand ¶
GenMysqlInitCommand generate mysql initialization code
func GenTypesPbCommand ¶
GenTypesPbCommand generate types.proto code
func GenerateDBInitCommand ¶
GenerateDBInitCommand generate database initialization code
func ModifyDuplicateErrCodeCommand ¶
ModifyDuplicateErrCodeCommand modify duplicate error codes
func ModifyDuplicateNumCommand ¶
ModifyDuplicateNumCommand modify duplicate numbers
func ModifyProtoPackageCommand ¶
ModifyProtoPackageCommand modifies the package and go_package names of proto files.
Types ¶
This section is empty.